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:
d2ad61c
)
MacOS port fix.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 29 May 2017 12:50:17 +0000
(08:50 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 29 May 2017 13:02:12 +0000
(09:02 -0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index d4c82b53bdee1c1de777113f4ff4d32d956fc51b..362f58664d7c6750fd1166fd66383766ab3e9ad1 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,11
@@
# Makefile for the open-source release of adventure 2.5
LIBS=-lrt
+UNAME_S := $(shell uname -s)
+ifeq ($(UNAME_S),Darwin)
+ LIBS=
+endif
+
OBJS=main.o init.o actions1.o actions2.o score.o misc.o database.o
SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO advent.text control