--- Makefile.orig Sun Oct 18 00:21:25 1998 +++ Makefile Wed May 3 12:00:00 2000 @@ -50,18 +50,18 @@ RELEASE=-DRELEASE=\"$(VER)\" # Set this to the destination directory for the executable #BINDIR=../../bin/`uname` -BINDIR=/usr/local/bin +BINDIR=${PREFIX}/bin # Location of manual pages #MANDIR=../../man -MANDIR=/usr/local/man +MANDIR=${PREFIX}/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