diff options
author | Yoshi Sugawara | 2019-09-13 23:02:33 -0700 |
---|---|---|
committer | Yoshi Sugawara | 2019-09-13 23:02:33 -0700 |
commit | 56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158 (patch) | |
tree | f5290740e4027adb6766ce5798246dfb091d5862 /Makefile | |
parent | 8454df2117d57a6644e832c2d05e51b80740f788 (diff) | |
download | snes9x2002-56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158.tar.gz snes9x2002-56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158.tar.bz2 snes9x2002-56f730aad8ec7c8fe7e633bb98eb6d2ab7d97158.zip |
(tvOS) support building using tvOS SDK
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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) |