Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two)
This commit is contained in:
parent
c14c5952a7
commit
467a255653
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
|
funcs.h: database.h
|
||||||
|
|
||||||
|
compile: compile.c
|
||||||
|
$(CC) $(CCFLAGS) -o $@ $<
|
||||||
|
|
||||||
database.c database.h: compile adventure.text
|
database.c database.h: compile adventure.text
|
||||||
./compile
|
./compile
|
||||||
$(CC) $(CCFLAGS) -O $(DBX) -c database.c
|
$(CC) $(CCFLAGS) -O $(DBX) -c database.c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue