X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=62c333f75b94b0fde6404dacc24b66dd8b2eef30;hb=495f4afbe02fe5b7dd37d5c654ec123a031cdf3e;hp=f023b0e096e72ee90576a6785a4e713ba2cd4745;hpb=0692b8a6efb35cdbf48315f88535d071331c2b1d;p=open-adventure.git diff --git a/Makefile b/Makefile index f023b0e..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 -SOURCES=$(OBJS:.o=.c) compile.c advent.h database.h funcs.h adventure.text Makefile control +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