summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a086f02..0132d23 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,20 @@
SYSTEM=$(shell uname)
ifeq ($(SYSTEM),Darwin)
-ARCH_FLAGS=
+ARCH_FLAGS=-arch i386
SHARED_FLAGS=-dynamiclib
SHARED_EXT=dylib
CPPFLAGS = -dynamic
-LD = g++
+LD = g++ -arch i386
+STRIP = strip -x
else
ARCH_FLAGS=-march=i686 -m32
SHARED_FLAGS=-shared
SHARED_EXT=so
LD = g++ -m32
+STRIP = strip --strip-unneeded
endif
CC = gcc
CXX = g++
-STRIP = strip --strip-unneeded
INCLUDES = \
-I../Baltisot/include \