summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTwinaphex2019-09-14 08:05:29 +0200
committerGitHub2019-09-14 08:05:29 +0200
commit354bcb5acea0aa45b56ae553e0b2b4f10792dfeb (patch)
tree26e79acc19447c9bd251dc51578f36f14480fd38 /Makefile
parent98c87e0d4288464d56fe80bb7a0f1dfc8fd7d2ff (diff)
parent56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158 (diff)
downloadsnes9x2002-354bcb5acea0aa45b56ae553e0b2b4f10792dfeb.tar.gz
snes9x2002-354bcb5acea0aa45b56ae553e0b2b4f10792dfeb.tar.bz2
snes9x2002-354bcb5acea0aa45b56ae553e0b2b4f10792dfeb.zip
Merge pull request #36 from yoshisuga/tvos_support
(tvOS) support building using tvOS SDK
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f2c2130..2fe1c7f 100644
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,16 @@ else ifneq (,$(findstring ios,$(platform)))
CXX += -miphoneos-version-min=5.0
PLATFORM_DEFINES := -miphoneos-version-min=5.0
endif
+else ifeq ($(platform), tvos-arm64)
+ TARGET := $(TARGET_NAME)_libretro_tvos.dylib
+ fpic := -fPIC
+ SHARED := -dynamiclib
+ ifeq ($(IOSSDK),)
+ IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
+ endif
+ ARM_ASM = 0
+ ASM_CPU = 0
+ ASM_SPC700 = 0
else ifeq ($(platform), theos_ios)
DEPLOYMENT_IOSVERSION = 5.0
TARGET = iphone:latest:$(DEPLOYMENT_IOSVERSION)