aboutsummaryrefslogtreecommitdiff
path: root/externals/build/darwin
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-05-28 03:57:52 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-05-28 03:57:52 +0000
commit24f598b8fa4e76f2a7a3480c55b5294452741194 (patch)
treec0e12c0f6def12c30d0ed2e13bafa610d4d724e9 /externals/build/darwin
parent09ebb18f2c469b0b87d8d5239d0c3a2eb7a038be (diff)
tested and tweaked optimizations
svn path=/trunk/; revision=1782
Diffstat (limited to 'externals/build/darwin')
-rw-r--r--externals/build/darwin/makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/externals/build/darwin/makefile b/externals/build/darwin/makefile
index 33d3c76e..ae73f9dc 100644
--- a/externals/build/darwin/makefile
+++ b/externals/build/darwin/makefile
@@ -10,16 +10,17 @@ all: link.stamp $(EXTERNALS:.c=.pd_darwin)
#PDEXECUTABLE = /usr/local/bin/pd
PDEXECUTABLE = ../../../pd/bin/pd
-# Pentium III or better
-#CPU_FLAGS = -march=pentium3
-# PowerPC G3
-#CPU_FLAGS = -mpowerpc-gpopt
-# PowerPC G4 (gcc-3.3)
-#CPU_FLAGS = -fast -mcpu=G4
+## These generally need gcc-3.3
+# Generic PowerPC
+OPTIM_FLAGS = -mpowerpc-gpopt
+# PowerPC 750 (G3)
+#OPTIM_FLAGS = -mpowerpc-gpopt -mcpu=750
+# PowerPC 7400 (G4 <= 700Mhz)
+#OPTIM_FLAGS = -fast -fPIC -mcpu=7400 -faltivec
+# PowerPC 7450 (G4 >= 533MHz)
+#OPTIM_FLAGS = -fast -fPIC -mcpu=7450 -faltivec
# PowerPC G5 (gcc-3.3)
-#CPU_FLAGS = -fast
-
-OPTIM_FLAGS = -O3 -funroll-loops -fomit-frame-pointer $(CPU_FLAGS)
+#OPTIM_FLAGS = -fast -fPIC -faltivec
CFLAGS = -DPD -DUNIX -DMACOSX -Dunix $(OPTIM_FLAGS) \
-Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wno-shadow