X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=343133ece069407394fd9be5f767e5aef5ca92f0;hb=76527321b58bf62adb998531ea5dda856e2b9afb;hp=68ffd5b4aca2b76c9a3a68f202e1cbc7f06902e7;hpb=8e86d0dca3e10ec1ed9f205b9e8222f6555612ad;p=open-adventure.git diff --git a/Makefile b/Makefile index 68ffd5b..343133e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ # Makefile for the open-source release of adventure 2.5 +LIBS=-lrt OBJS=main.o init.o actions1.o actions2.o score.o misc.o SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO advent.text control @@ -7,7 +8,7 @@ SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO advent.text control gcc -O $(DBX) -c $< advent: $(OBJS) - gcc -O $(DBX) -o advent $(OBJS) + gcc -O $(DBX) -o advent $(OBJS) $(LIBS) main.o: misc.h funcs.h @@ -22,7 +23,7 @@ score.o: misc.h main.h share.h misc.o: misc.h main.h clean: - rm -f *.o advent advent.html advent.6 + rm -f *.o advent advent.html advent.6 adventure.data # Requires asciidoc and xsltproc/docbook stylesheets. .asc.6: