2014-03-09 00:44:13 +01:00
|
|
|
ARCH = armv7
|
2014-02-26 13:58:34 +01:00
|
|
|
include build/platform-darwin.mk
|
|
|
|
CXX = clang++
|
|
|
|
CC = clang
|
|
|
|
SDK = 7.0
|
|
|
|
ifneq ($(filter %86 x86_64, $(ARCH)),)
|
|
|
|
SDKTYPE = iPhoneSimulator
|
|
|
|
else
|
|
|
|
SDKTYPE = iPhoneOS
|
|
|
|
endif
|
|
|
|
SDK_MIN = 5.1
|
|
|
|
|
|
|
|
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/$(SDKTYPE).platform/Developer/SDKs/$(SDKTYPE)$(SDK).sdk
|
2014-03-01 16:24:15 +01:00
|
|
|
CFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN) -DAPPLE_IOS
|
2014-02-26 13:58:34 +01:00
|
|
|
LDFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN)
|
|
|
|
|