summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYoshi Sugawara2019-09-02 15:59:57 -1000
committerYoshi Sugawara2019-09-02 15:59:57 -1000
commit8acc14cf34bbec83d91c78cc034fae1fc31b7a98 (patch)
treec8dfa4c95ba9436081db9c977433e2b947eb2844 /Makefile
parent19aed0288d5ca154be28c54f71769dfd80342b78 (diff)
downloadpicogpsp-8acc14cf34bbec83d91c78cc034fae1fc31b7a98.tar.gz
picogpsp-8acc14cf34bbec83d91c78cc034fae1fc31b7a98.tar.bz2
picogpsp-8acc14cf34bbec83d91c78cc034fae1fc31b7a98.zip
(tvOS) Compile using tvOS SDK
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