From 56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158 Mon Sep 17 00:00:00 2001 From: Yoshi Sugawara Date: Fri, 13 Sep 2019 23:02:33 -0700 Subject: (tvOS) support building using tvOS SDK --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) -- cgit v1.2.3