1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/games/agm/files/patch-aa
Steve Price e0430c9e62 Update to version 1.4.
PR:		9344
Submitted by:	maintainer
1999-01-10 18:37:29 +00:00

36 lines
1.1 KiB
Plaintext

--- Makefile Sat Oct 17 15:21:25 1998
+++ /home/andy/tmp/wrk/Makefile Wed Jan 6 16:40:21 1999
@@ -55,13 +55,13 @@
#MANDIR=../../man
MANDIR=/usr/local/man
# Location of the word file
-WORDDIR=/usr/local/lib
+WORDDIR=/usr/share/dict
# Name of the default wordfile
WORDFILE=-DWORDFILE=\"$(WORDDIR)/words\"
# C compiler
-CC=cc
+CC?=cc
# Optimization or other flags for C compiler
-CCFLAGS=-O
+CFLAGS?=-O
#CCFLAGS=-g
# Alter this if you have problems compiling the CPU limit code or the
# timer code
@@ -77,13 +77,13 @@
doc: agm.ps
agm: main.o process.o listfuncs.o wordfuncs.o gobble.o sort.o output.o progress.o
- $(CC) $(CCFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) -o agm main.o process.o listfuncs.o wordfuncs.o gobble.o sort.o output.o progress.o
+ $(CC) $(CFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) -o agm main.o process.o listfuncs.o wordfuncs.o gobble.o sort.o output.o progress.o
#gagm: gtkmain.o
# $(CC) $(CCFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) -o gagm gtkmain.o $(GTKCFLAGS) $(GTKLIBS)
.c.o:
- $(CC) -c $(CCFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) $<
+ $(CC) -c $(CFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) $<
#gtkmain.o: gtkmain.c agm.h