aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorT. Joseph Carter2015-03-12 04:46:35 -0700
committerT. Joseph Carter2015-03-12 04:46:35 -0700
commitcbf0ed57061c71631e958167be554cbea3f3c554 (patch)
tree63b359ddce30fd677fa50d3b950d6a41fed9e42d
parent90a87b61668f5518682ecbd5c52286531c370f1f (diff)
downloadpcsx_rearmed-cbf0ed57061c71631e958167be554cbea3f3c554.tar.gz
pcsx_rearmed-cbf0ed57061c71631e958167be554cbea3f3c554.tar.bz2
pcsx_rearmed-cbf0ed57061c71631e958167be554cbea3f3c554.zip
Generate dynarec AND interpreter on iOS (with single invocation!)
-rw-r--r--Makefile.libretro14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index 70a7c14..1efb7f9 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -56,7 +56,12 @@ else ifeq ($(platform), osx)
# iOS
else ifeq ($(platform), ios)
ARCH := arm
+ USE_DYNAREC ?= 1
TARGET := $(TARGET_NAME)_libretro_ios.dylib
+ifeq ($(USE_DYNAREC),0)
+ # Override
+ TARGET := $(TARGET_NAME)_interpreter_libretro_ios.dylib
+endif
fpic := -fPIC
SHARED := -dynamiclib
@@ -71,7 +76,6 @@ else ifeq ($(platform), ios)
ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon
HAVE_NEON = 1
BUILTIN_GPU = neon
- USE_DYNAREC = 1
CFLAGS += -DIOS
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
@@ -201,6 +205,14 @@ SOUND_DRIVERS = libretro
PLUGINS =
NO_CONFIG_MAK = yes
+libretro_all: all
+ifeq ($(platform),ios)
+ifeq ($(USE_DYNAREC),1)
+ make -f Makefile.libretro USE_DYNAREC=0 platform=$(platform) clean
+ make -f Makefile.libretro USE_DYNAREC=0 platform=$(platform)
+endif
+endif
+
include Makefile
# no special AS needed for gpu_neon