OPTIONS =
ifeq ($(ARCH),i386)
- OPTIONS = -fobjc-abi-version=2 -Wl,-objc_abi_version,2
+ OPTIONS = -fobjc-abi-version=2 -Wl,-objc_abi_version,2 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fobjc-legacy-dispatch
+endif
+
+ifeq ($(ARCH),arm)
+ OPTIONS = -isysroot=${IOS_SDK}
endif
all: all-${ARCH}
all-i386: all-rest
all-x86_64: all-rest
all-armv6: all-rest
+all-armv7: all-rest
all-rest:
# check optimization can be turned off