mirror of
https://github.com/libretro/beetle-pce-libretro.git
synced 2025-02-21 08:31:10 +00:00
Update makefile for iOS and add tvOS support.
Update makefile for iOS and add tvOS support. Mobile apple platforms are now in sync with the options for PCE_FAST version.
This commit is contained in:
parent
19fbcd6d05
commit
420c0e3dba
19
Makefile
19
Makefile
@ -146,8 +146,13 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
|
||||
endif
|
||||
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
||||
CXX = c++ -arch armv7 -isysroot $(IOSSDK)
|
||||
ifeq ($(platform),ios-arm64)
|
||||
CC = cc -arch arm64 -isysroot $(IOSSDK)
|
||||
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
|
||||
else
|
||||
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
||||
CXX = c++ -arch armv7 -isysroot $(IOSSDK)
|
||||
endif
|
||||
IPHONEMINVER :=
|
||||
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
|
||||
IPHONEMINVER = -miphoneos-version-min=8.0
|
||||
@ -159,6 +164,16 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||
CC += $(IPHONEMINVER)
|
||||
CXX += $(IPHONEMINVER)
|
||||
|
||||
# tvOS
|
||||
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
|
||||
|
||||
# QNX
|
||||
else ifeq ($(platform), qnx)
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).so
|
||||
|
Loading…
x
Reference in New Issue
Block a user