aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshi Sugawara2019-09-13 23:06:51 -0700
committerYoshi Sugawara2019-09-13 23:06:51 -0700
commit9fe7ba05a374679848e983e03e1a44046c80175f (patch)
tree23b32068828f83eba8ca70cc58881df21c8ba41c
parent0ed20f0a360817a8a3c21274bfdca93fb6e0dae5 (diff)
downloadsnes9x2005-9fe7ba05a374679848e983e03e1a44046c80175f.tar.gz
snes9x2005-9fe7ba05a374679848e983e03e1a44046c80175f.tar.bz2
snes9x2005-9fe7ba05a374679848e983e03e1a44046c80175f.zip
(tvOS) support building using tvOS SDK
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3bfef2e..8b9b29f 100644
--- a/Makefile
+++ b/Makefile
@@ -147,6 +147,16 @@ else
CC += -miphoneos-version-min=5.0
CXX += -miphoneos-version-min=5.0
endif
+# tvOS
+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
+
# Theos iOS
else ifeq ($(platform), theos_ios)
DEPLOYMENT_IOSVERSION = 5.0