summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b5bd290..ab76003 100644
--- a/Makefile
+++ b/Makefile
@@ -140,6 +140,18 @@ else
CFLAGS += -miphoneos-version-min=5.0
endif
+# tvOS
+else ifeq ($(platform), tvos-arm64)
+ TARGET := $(TARGET_NAME)_libretro_tvos.dylib
+ fpic := -fPIC
+ SHARED := -dynamiclib
+ CPU_ARCH := arm
+ CFLAGS += -DIOS -DHAVE_POSIX_MEMALIGN -marm
+
+ ifeq ($(IOSSDK),)
+ IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
+ endif
+
# iOS Theos
else ifeq ($(platform), theos_ios)
DEPLOYMENT_IOSVERSION = 5.0