X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.libretro;h=d08bef1dfd3f15fc7b6ae62c5e37434764dad781;hb=33b8211141a95cde64763391e4c54586929f3ee8;hp=70a7c141df7973e3d2c764d7e7fde225eaed07f2;hpb=498b9cc43f48cc8be2bf2e7a4f83f27ffb30face;p=pcsx_rearmed.git diff --git a/Makefile.libretro b/Makefile.libretro index 70a7c141..d08bef1d 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -49,14 +49,17 @@ else ifeq ($(platform), osx) SHARED := -dynamiclib OSXVER = `sw_vers -productVersion | cut -d. -f 2` OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"` - ifeq ($(OSX_LT_MAVERICKS),"YES") - fpic += -mmacosx-version-min=10.5 - endif + fpic += -mmacosx-version-min=10.1 # 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 +74,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 +203,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