From 8acc14cf34bbec83d91c78cc034fae1fc31b7a98 Mon Sep 17 00:00:00 2001 From: Yoshi Sugawara Date: Mon, 2 Sep 2019 15:59:57 -1000 Subject: [PATCH] (tvOS) Compile using tvOS SDK --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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