mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-24 19:56:06 +00:00
(Theos/iOS) Update Makefile
This commit is contained in:
parent
88b21b87e7
commit
2a3c4a1845
@ -1,30 +1,7 @@
|
||||
ifeq ($(platform),)
|
||||
platform = unix
|
||||
ifeq ($(shell uname -a),)
|
||||
platform = win
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
platform = osx
|
||||
arch = intel
|
||||
ifeq ($(shell uname -p),powerpc)
|
||||
arch = ppc
|
||||
endif
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
platform = win
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
platform = win
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(platform), osx)
|
||||
_LATEST_SDK := $(shell xcrun -sdk iphoneos -show-sdk-version)
|
||||
else
|
||||
_SDK_DIR := $(THEOS)/sdks
|
||||
_IOS_SDKS := $(sort $(patsubst $(_SDK_DIR)/iPhoneOS%.sdk,%,$(wildcard $(_SDK_DIR)/iPhoneOS*.sdk)))
|
||||
_LATEST_SDK := $(word $(words $(_IOS_SDKS)),$(_IOS_SDKS))
|
||||
endif
|
||||
|
||||
SDKVERSION := $(_LATEST_SDK)
|
||||
DEPLOYMENT_IOSVERSION = 5.0
|
||||
TARGET = iphone:latest:$(DEPLOYMENT_IOSVERSION)
|
||||
ARCHS = armv7 armv7s
|
||||
TARGET_IPHONEOS_DEPLOYMENT_VERSION=$(DEPLOYMENT_IOSVERSION)
|
||||
include $(THEOS)/makefiles/common.mk
|
||||
|
||||
SRC_DIR := ../..
|
||||
|
Loading…
Reference in New Issue
Block a user