projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580565e
)
Repair CentOS 6 build (fails due to clock_gettime() being undefined)
author
Eric S. Raymond
<esr@thyrsus.com>
Thu, 25 May 2017 13:09:11 +0000
(09:09 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Thu, 25 May 2017 13:09:11 +0000
(09:09 -0400)
GitLab issue #2.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 95b561e59744192e8a9c31642cc1523a42ad9c79..343133ece069407394fd9be5f767e5aef5ca92f0 100644
(file)
--- 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