summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYoshi Sugawara2019-09-13 23:02:33 -0700
committerYoshi Sugawara2019-09-13 23:02:33 -0700
commit56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158 (patch)
treef5290740e4027adb6766ce5798246dfb091d5862 /Makefile
parent8454df2117d57a6644e832c2d05e51b80740f788 (diff)
downloadsnes9x2002-56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158.tar.gz
snes9x2002-56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158.tar.bz2
snes9x2002-56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158.zip
(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 87733b5..f2fbe49 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)