X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=1efb7f910c5e2ce313c3632371ea022ff4aa3b21;hb=872515f91b1db2941d28a1b8507ea83cce9632f3;hp=2210e9cf8bcde544531f46de47b77db07d7ce3af;hpb=917a47e022495be79c60328a7ae60f5c25b3b298;p=pcsx_rearmed.git diff --git a/Makefile.libretro b/Makefile.libretro index 2210e9cf..1efb7f91 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -56,12 +56,17 @@ 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 ifeq ($(IOSSDK),) - IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path) + IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path) endif CC = clang -arch armv7 -isysroot $(IOSSDK) @@ -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