Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
beetle-pce-libretro
Commits
6c8e4676
Unverified
Commit
6c8e4676
authored
Dec 07, 2019
by
Libretro-Admin
Committed by
GitHub
Dec 07, 2019
Browse files
Merge pull request #136 from mrjschulte/patch-2
Update makefile for iOS and add tvOS support.
parents
19fbcd6d
420c0e3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
6c8e4676
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment