mirror of
https://github.com/libretro/libretro-vecx.git
synced 2024-11-23 07:59:52 +00:00
(Theos iOS) Add Theos iOS target
This commit is contained in:
parent
2a00d04933
commit
17738b3f49
@ -72,6 +72,17 @@ ifeq ($(OSX_LT_MAVERICKS),"YES")
|
||||
CC += -miphoneos-version-min=5.0
|
||||
CFLAGS += -miphoneos-version-min=5.0
|
||||
endif
|
||||
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
|
||||
@ -194,6 +205,12 @@ ifeq ($(FRONTEND_SUPPORTS_RGB565), 1)
|
||||
CFLAGS += -DFRONTEND_SUPPORTS_RGB565
|
||||
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)
|
||||
@ -213,3 +230,4 @@ clean:
|
||||
rm -f $(TARGET) $(OBJECTS)
|
||||
|
||||
.PHONY: clean
|
||||
endif
|
||||
|
10
control
Normal file
10
control
Normal file
@ -0,0 +1,10 @@
|
||||
Package: com.libretro.vecx
|
||||
Name: vecx
|
||||
Depends:
|
||||
Version: 0.0.1
|
||||
Architecture: iphoneos-arm
|
||||
Description: Libretro iOS core of vecX
|
||||
Maintainer: libretro
|
||||
Author: libretro
|
||||
Section: System
|
||||
Tag: role::developer
|
Loading…
Reference in New Issue
Block a user