Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two)

This commit is contained in:
Michael Jarvis 2017-06-01 22:54:04 -05:00
parent 9ee98dec25
commit bcb3d1b583

View file

@ -33,6 +33,9 @@ database.o: database.h
funcs.h: database.h
compile: compile.c
$(CC) $(CCFLAGS) -o $@ $<
database.c database.h: compile adventure.text
./compile
$(CC) $(CCFLAGS) -O $(DBX) -c database.c