From 467a25565356cffd20e233e6c05b2d21da376ddc Mon Sep 17 00:00:00 2001 From: Michael Jarvis Date: Thu, 1 Jun 2017 22:54:04 -0500 Subject: [PATCH] Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.31.1