X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=62c333f75b94b0fde6404dacc24b66dd8b2eef30;hb=495f4afbe02fe5b7dd37d5c654ec123a031cdf3e;hp=67e321b4f4545e6cc1666b6767ae33d124e0ae8b;hpb=9b66a6511b2e48a7db9c41e19565f75d179febe0;p=open-adventure.git diff --git a/Makefile b/Makefile index 67e321b..62c333f 100644 --- a/Makefile +++ b/Makefile @@ -10,14 +10,14 @@ ifeq ($(UNAME_S),Linux) LIBS=-lrt endif -OBJS=main.o init.o actions1.o actions2.o score.o misc.o database.o +OBJS=main.o init.o actions1.o actions2.o score.o misc.o SOURCES=$(OBJS:.o=.c) compile.c advent.h funcs.h adventure.text Makefile control .c.o: $(CC) $(CCFLAGS) $(DBX) -c $< advent: $(OBJS) database.o - $(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) $(LDFLAGS) $(LIBS) + $(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) database.o $(LDFLAGS) $(LIBS) main.o: advent.h funcs.h database.h