aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-26 23:30:56 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-26 23:30:56 +0000
commit5e27f1fb3895a4c59d162431cf1a3574c948ae8b (patch)
tree9e8474ff40e41c8f7a65badf060bc704e2e5b521 /Makefile
parent99cbc9e14d66ccb89abddf4beea925f64c53ce4d (diff)
don't build multitouch on 10.4 (8.11.1) since 10.4 lacks the MultitouchSupport framework
svn path=/trunk/externals/apple/; revision=12811
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6c58e24..2c13932 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ SOURCES =
# For objects that only build on certain platforms, add those to the SOURCES
# line for the right platforms.
-SOURCES_Darwin = ambient_light_sensor.c iodisplay.c keyboard_light.c sudden_motion_sensor.c smc.c multitouch.c
+SOURCES_Darwin = ambient_light_sensor.c iodisplay.c keyboard_light.c sudden_motion_sensor.c smc.c
SOURCES_iphoneos = multitouch.c
SOURCES_Linux =
SOURCES_Windows =
@@ -50,6 +50,9 @@ ifeq ($(UNAME),Darwin)
STRIP = strip -x
else # Mac OS X
SOURCES += $(SOURCES_Darwin)
+ ifneq ($(findstring 8.11.1, $(shell uname -r)), 8.11.1)
+ SOURCES += $(SOURCES_iphoneos)
+ endif
EXTENSION = pd_darwin
OS = macosx
OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=3 -fast