Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two)
This commit is contained in:
parent
9ee98dec25
commit
bcb3d1b583
1 changed files with 3 additions and 0 deletions
3
Makefile
3
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue