summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTwinaphex2019-09-05 03:45:58 +0200
committerGitHub2019-09-05 03:45:58 +0200
commitefd437a2b40ccfb84be20523362164eb42219ab8 (patch)
treec8dfa4c95ba9436081db9c977433e2b947eb2844
parent19aed0288d5ca154be28c54f71769dfd80342b78 (diff)
parent8acc14cf34bbec83d91c78cc034fae1fc31b7a98 (diff)
downloadpicogpsp-efd437a2b40ccfb84be20523362164eb42219ab8.tar.gz
picogpsp-efd437a2b40ccfb84be20523362164eb42219ab8.tar.bz2
picogpsp-efd437a2b40ccfb84be20523362164eb42219ab8.zip
Merge pull request #54 from yoshisuga/tvos_support
(tvOS) Compile using tvOS SDK
-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