Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two)
authorMichael Jarvis <Michael@Jarvis.com>
Fri, 2 Jun 2017 03:54:04 +0000 (22:54 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 2 Jun 2017 12:44:40 +0000 (08:44 -0400)
Makefile

index 23cd7f9dc749be6bbb53eba1ade06e9a3fff154f..c2f34d48f62db23405b85061bbe045e4a7d1c367 100644 (file)
--- 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