summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2012-02-18 16:49:19 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2012-02-18 16:49:19 -0800
commit164e813970e3f8b4a3ab1c8247bed60ea9fd4f6d (patch)
treeec46cb82c7cbee943f628d36279cdee1c6235b62 /makefile
parent1ad8f469df0494b7b2071fb889d30f232b9a34e3 (diff)
Use xcode-select --print-path to find /Developer.
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 372e21a..4e34967 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
-dev := /Developer/Platforms/iPhoneOS.platform/Developer
+dev := $(shell xcode-select --print-path)/Platforms/iPhoneOS.platform/Developer
sdks := $(dev)/SDKs
ioss := $(sort $(patsubst $(sdks)/iPhoneOS%.sdk,%,$(wildcard $(sdks)/iPhoneOS*.sdk)))
ios := $(word $(words $(ioss)),$(ioss))