From: Michael Jarvis Date: Fri, 2 Jun 2017 03:54:04 +0000 (-0500) Subject: Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two) X-Git-Tag: 0.90~34 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=467a25565356cffd20e233e6c05b2d21da376ddc;p=open-adventure.git Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two) --- diff --git a/Makefile b/Makefile index 23cd7f9..c2f34d4 100644 --- a/Makefile +++ b/Makefile @@ -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