blob: 4559d993dda0079d16ce086426886f3ff6b5e436 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--- 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
|