Add a missing dependency.
[open-adventure.git] / Makefile
index 4faf82ea40f51f9b0b092485107c304820b9d2f6..ea6f03b850495be56a1979bafa8d60e2bdf23bd0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ GCCVERSIONGTEQ4 := $(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 4)
 ifeq ($(UNAME_S),Darwin)
        LIBS=
 else ifeq "$(GCCVERSIONGTEQ4)" "1"
-       CC=c99 --std=gnu99
+       CC=c99
 endif
 
 OBJS=main.o init.o actions1.o actions2.o score.o misc.o
@@ -31,7 +31,7 @@ score.o:      misc.h main.h share.h database.h
 
 misc.o:                misc.h main.h database.h
 
-database.c database.h: compile
+database.c database.h: compile adventure.text
        ./compile
        $(CC) $(CCFLAGS) -O $(DBX) -c database.c