X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=8a306139bed5163fa9799cc654781cf8d942723c;hb=bf0f604e34e90c914f19f60700d243cc8d9e9ab4;hp=362f58664d7c6750fd1166fd66383766ab3e9ad1;hpb=6facfe15888aedc39cfa47c8c251256bcabfe771;p=open-adventure.git diff --git a/Makefile b/Makefile index 362f586..8a30613 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,10 @@ OBJS=main.o init.o actions1.o actions2.o score.o misc.o database.o SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO advent.text control .c.o: - gcc -O $(DBX) -c $< + $(CC) -O $(DBX) -c $< advent: $(OBJS) - gcc -Wall -std=c99 -O $(DBX) -o advent $(OBJS) $(LIBS) + $(CC) -Wall -std=c99 -O $(DBX) -o advent $(OBJS) $(LIBS) main.o: main.h misc.h funcs.h database.h @@ -29,7 +29,7 @@ misc.o: misc.h main.h database.h database.c database.h: compile ./compile - gcc $(OPTIONS) -O $(DBX) -c database.c + $(CC) $(OPTIONS) -O $(DBX) -c database.c clean: rm -f *.o advent advent.html advent.6 database.[ch] compile