Repair CentOS 6 build (fails due to clock_gettime() being undefined)
GitLab issue #2.
This commit is contained in:
parent
580565e254
commit
76527321b5
1 changed files with 2 additions and 1 deletions
3
Makefile
3
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue