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
libretro-2048
Commits
7923cf00
Commit
7923cf00
authored
Dec 23, 2014
by
Libretro-Admin
Browse files
(Theos iOS) Add Theos iOS target
parent
e1bada70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
7923cf00
...
...
@@ -37,6 +37,16 @@ ifeq ($(IOSSDK),)
IOSSDK
:=
$(
shell
xcrun
-sdk
iphoneos
-show-sdk-path
)
endif
CC
=
clang
-arch
armv7
-isysroot
$(IOSSDK)
else
ifeq
($(platform), theos_ios)
# Theos iOS
DEPLOYMENT_IOSVERSION
=
5.0
TARGET
=
iphone:latest:
$(DEPLOYMENT_IOSVERSION)
ARCHS
=
armv7 armv7s
TARGET_IPHONEOS_DEPLOYMENT_VERSION
=
$(DEPLOYMENT_IOSVERSION)
THEOS_BUILD_DIR
:=
objs
include
$(THEOS)/makefiles/common.mk
LIBRARY_NAME
=
$(TARGET_NAME)
_libretro_ios
else
ifeq
($(platform), qnx)
TARGET
:=
$(TARGET_NAME)
_libretro_qnx.so
fpic
:=
-fPIC
...
...
@@ -86,6 +96,12 @@ ifneq ($(fpic),)
with_fpic
:=
--with-pic
=
yes
endif
ifeq
($(platform), theos_ios)
COMMON_FLAGS
:=
-DIOS
$(COMMON_DEFINES)
$(INCFLAGS)
-I
$(THEOS_INCLUDE_PATH)
-Wno-error
$(LIBRARY_NAME)_CFLAGS
+=
$(COMMON_FLAGS)
$(CFLAGS)
${LIBRARY_NAME}_FILES
=
$(SOURCES_C)
include
$(THEOS_MAKE_PATH)/library.mk
else
all
:
$(TARGET)
$(TARGET)
:
$(OBJECTS)
...
...
@@ -102,4 +118,4 @@ clean:
rm
-f
$(OBJECTS)
$(TARGET)
.PHONY
:
clean
endif
control
0 → 100644
View file @
7923cf00
Package: com.libretro.2048
Name: 2048
Depends:
Version: 0.0.1
Architecture: iphoneos-arm
Description: Libretro iOS core of 2048
Maintainer: libretro
Author: libretro
Section: System
Tag: role::developer
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