aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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