summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index fbd040c..eae4fd3 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,7 @@
sdks := /Developer/Platforms/iPhoneOS.platform/Developer/SDKs
+ioss := $(sort $(patsubst $(sdks)/iPhoneOS%.sdk,%,$(wildcard $(sdks)/iPhoneOS*.sdk)))
-ios := 4.0
+ios := $(word $(words $(ioss)),$(ioss))
gcc := 4.2
flags :=