projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Case correction.
[open-adventure.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 95b561e59744192e8a9c31642cc1523a42ad9c79..d13aa7c8bc1eff1c777d6ed2fac9cca2a10aa64f 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,6
@@
# Makefile for the open-source release of adventure 2.5
# 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
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) -c $<
advent: $(OBJS)
- gcc -O $(DBX) -o advent $(OBJS)
+ gcc -O $(DBX) -o advent $(OBJS)
$(LIBS)
main.o: misc.h funcs.h
main.o: misc.h funcs.h
@@
-23,6
+24,10
@@
misc.o: misc.h main.h
clean:
rm -f *.o advent advent.html advent.6 adventure.data
clean:
rm -f *.o advent advent.html advent.6 adventure.data
+ cd tests; $(MAKE) --quiet clean
+
+check: advent
+ cd tests; $(MAKE) --quiet
# Requires asciidoc and xsltproc/docbook stylesheets.
.asc.6:
# Requires asciidoc and xsltproc/docbook stylesheets.
.asc.6: