aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTwinaphex2019-09-14 08:13:23 +0200
committerGitHub2019-09-14 08:13:23 +0200
commit24267eff01bdfe2807201ca9bd195a86bec40bc6 (patch)
tree23b32068828f83eba8ca70cc58881df21c8ba41c
parent0ed20f0a360817a8a3c21274bfdca93fb6e0dae5 (diff)
parent9fe7ba05a374679848e983e03e1a44046c80175f (diff)
downloadsnes9x2005-24267eff01bdfe2807201ca9bd195a86bec40bc6.tar.gz
snes9x2005-24267eff01bdfe2807201ca9bd195a86bec40bc6.tar.bz2
snes9x2005-24267eff01bdfe2807201ca9bd195a86bec40bc6.zip
Merge pull request #68 from yoshisuga/tvos_support
(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