RetroArch/apple/iOS/Makefile

29 lines
1.6 KiB
Makefile
Raw Normal View History

2015-01-20 06:20:37 +00:00
APPVERSION = 1.0.0.4
PACKAGE_VERSION = 1.0.0.4
2014-11-10 10:31:49 +00:00
DEPLOYMENT_IOSVERSION = 5.0
TARGET = iphone:latest:$(DEPLOYMENT_IOSVERSION)
2015-01-16 02:29:32 +00:00
ARCHS = armv7
2014-11-10 10:31:49 +00:00
TARGET_IPHONEOS_DEPLOYMENT_VERSION=$(DEPLOYMENT_IOSVERSION)
include $(THEOS)/makefiles/common.mk
SRC_DIR := ../..
2015-01-16 02:29:07 +00:00
APPLICATION_NAME = RetroArch
${APPLICATION_NAME}_FRAMEWORKS = Foundation UIKit CoreGraphics AudioToolbox GLKit OpenGLES CoreText CoreLocation CoreAudio AVFoundation CoreMedia CoreVideo GameController
${APPLICATION_NAME}_FILES = $(SRC_DIR)/griffin/griffin.c \
2015-04-20 18:39:39 +00:00
$(SRC_DIR)/griffin/griffin_objc.m \
2015-01-16 02:26:59 +00:00
$(SRC_DIR)/audio/audio_utils_neon.S \
$(SRC_DIR)/audio/drivers_resampler/sinc_neon.S \
2015-04-20 18:39:39 +00:00
$(SRC_DIR)/audio/drivers_resampler/cc_resampler_neon.S
COMMON_FLAGS := -DIOS -DHAVE_GRIFFIN -DHAVE_CORELOCATION -DHAVE_NETPLAY -DHAVE_RGUI -DHAVE_MENU -DHAVE_DYNAMIC -DHAVE_OPENGL -DHAVE_FBO -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -DINLINE=inline -DLSB_FIRST -DHAVE_THREADS -D__LIBRETRO__ -DRARCH_MOBILE -std=gnu99 -DHAVE_COREAUDIO -DHAVE_FBO -DHAVE_OVERLAY -DHAVE_ZLIB -DWANT_ZLIB -DSINC_LOWER_QUALITY -DRARCH_INTERNAL -DHAVE_FILTERS_BUILTIN -DHAVE_XMB -D_LZMA_UINT32_IS_ULONG -DHAVE_STRL
COMMON_FLAGS += -DHAVE_AVFOUNDATION
COMMON_IOS_FLAGS := -Wno-deprecated-declarations -Wno-error
COMMON_IOS_OBJCFLAGS := -fobjc-arc
INCFLAGS := -I$(SRC_DIR) -I$(SRC_DIR)/libretro-common/include
2015-01-16 02:29:07 +00:00
${APPLICATION_NAME}_CFLAGS += $(COMMON_FLAGS) $(COMMON_IOS_FLAGS) $(COMMON_IOS_OBJCFLAGS) $(INCFLAGS)
${APPLICATION_NAME}_CCFLAGS += $(COMMON_FLAGS) $(COMMON_IOS_FLAGS) $(COMMON_IOS_OBJCFLAGS) $(INCFLAGS)
include $(THEOS_MAKE_PATH)/application.mk