summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-26 22:28:59 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:24 -0800
commitea9587160a42c7b6f91ecdb313be1012568a9489 (patch)
treee6dd225fdf4e78291175607c83b32fe6d549bd7a /makefile
parentef974f5266cdc5c776b8636f5765ca971a58edc8 (diff)
Use the latest available SDK: I now trust that they work.
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 :=