From 4ed558cdc7bfccf690ba9bc858405c6fce3d4c92 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 5 Jun 2009 04:24:37 +0000 Subject: replaced CPU -march flags with a FAT/Universal build for Mac OS X svn path=/trunk/externals/ext13/; revision=11679 --- Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1