commit ac5cd4fe16def55b9f9864adb493378f49f1da98
parent aed5e49f46aff3de3875e4cc9487eabc9c4bc7c3
Author: Alexander Burger <abu@software-lab.de>
Date: Fri, 12 Oct 2012 13:07:02 +0200
Added Darwin to Makefile
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src64/Makefile b/src64/Makefile
@@ -1,4 +1,4 @@
-# 10oct12abu
+# 12oct12abu
# (c) Software Lab. Alexander Burger
.SILENT:
@@ -31,6 +31,7 @@ endif
SYS =
FMT = .c
ARCH = emu
+STRIP = :
ifeq ($(UNAME), Linux)
OS = Linux
@@ -60,6 +61,13 @@ else
LD-MAIN = -m64 -lc -lm -ldl -lsocket -lnsl
LD-SHARED = -m64 -shared
STRIP = strip
+ else
+ ifeq ($(UNAME), Darwin)
+ OS = Darwin
+ LD-MAIN = -lc -lm -ldl
+ LD-SHARED = -dynamiclib -undefined dynamic_lookup
+ STRIP = strip
+ endif
endif
endif