X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=ea6f03b850495be56a1979bafa8d60e2bdf23bd0;hb=aacd3a5f8d80c88deb0c5fe7ae79962cd5dd29e7;hp=4faf82ea40f51f9b0b092485107c304820b9d2f6;hpb=519d8f07e636c3171ad8ce05e729abb0d5b3c4e1;p=open-adventure.git diff --git a/Makefile b/Makefile index 4faf82e..ea6f03b 100644 --- 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