aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-05 04:24:37 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-05 04:24:37 +0000
commit4ed558cdc7bfccf690ba9bc858405c6fce3d4c92 (patch)
tree37d9f8676bd83a01122fa60aa6b76d2d097eb18d /Makefile
parent91ae51d51e1bb51977c53b1403969f522405d19c (diff)
replaced CPU -march flags with a FAT/Universal build for Mac OS X
svn path=/trunk/externals/ext13/; revision=11679
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index c8a4e58..3c9fa5f 100644
--- a/Makefile
+++ b/Makefile
@@ -17,16 +17,12 @@ ifeq ($(UNAME),Darwin)
SOURCES +=
EXTENSION = pd_darwin
OS = macosx
- CFLAGS += -fPIC
OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast
- LDFLAGS += -bundle -undefined dynamic_lookup
+ FAT_FLAGS = -arch i386 -arch ppc -mmacosx-version-min=10.4
+ CFLAGS += -fPIC $(FAT_FLAGS)
+ LDFLAGS += -bundle -undefined dynamic_lookup $(FAT_FLAGS)
LIBS += -lc
STRIP = strip -x
- ifeq ($(shell uname -m),i386)
- OPT_CFLAGS += -march=pentium-m
- else
- OPT_CFLAGS += -march=7400
- endif
endif
ifeq ($(UNAME),Linux)
SOURCES += cdplayer.c ossmixer.c promiscous~.c