Skip to content

Commit

Permalink
Merge pull request #94 from yoshisuga/tvos_platform
Browse files Browse the repository at this point in the history
(tvOS) support building
  • Loading branch information
meepingsnesroms committed Sep 12, 2019
2 parents ab608e1 + eea4c32 commit 14e0d66
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions libretroBuildSystem/Makefile.libretro
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,17 @@ CC += -miphoneos-version-min=5.0
CFLAGS += -miphoneos-version-min=5.0
endif

# tvOS
else ifeq ($(platform), tvos-arm64)
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
fpic := -fPIC
SHARED := -dynamiclib
CFLAGS := -DIOS

ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
endif

# Theos iOS
else ifeq ($(platform), theos_ios)
DEPLOYMENT_IOSVERSION = 5.0
Expand Down

0 comments on commit 14e0d66

Please sign in to comment.