# OS X
else ifeq ($(platform), osx)
+ DYNAREC ?= ari64
TARGET := $(TARGET_NAME)_libretro.dylib
fpic := -fPIC
fpic += -mmacosx-version-min=10.1
-ifeq ($(DYNAREC),)
+ifeq ($(DYNAREC),lightrec)
# Override
TARGET := $(TARGET_NAME)_interpreter_libretro.dylib
endif
else ifneq (,$(findstring ios,$(platform)))
ARCH := arm
+ DYNAREC ?= ari64
HAVE_NEON = 1
BUILTIN_GPU = neon
TARGET := $(TARGET_NAME)_libretro_ios.dylib
-ifeq ($(DYNAREC),)
+ifeq ($(DYNAREC),lightrec)
# Override
TARGET := $(TARGET_NAME)_interpreter_libretro_ios.dylib
endif
HAVE_NEON = 1
BUILTIN_GPU = neon
+ DYNAREC = ari64
DRC_CACHE_BASE = 0
ARCH = arm
# CFLAGS += -DPCSX
BUILTIN_GPU = unai
+ DYNAREC = ari64
DRC_CACHE_BASE = 0
ARCH = arm
HAVE_NEON = 0
CC = qcc -Vgcc_ntoarmv7le
CC_AS = $(CC)
HAVE_NEON = 1
+ DYNAREC = ari64
DRC_CACHE_BASE = 0
BUILTIN_GPU = neon
ARCH = arm
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
#Raspberry Pi 3
else ifeq ($(platform), rpi3)
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
#Raspberry Pi 4
else ifeq ($(platform), rpi4)
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
ifeq ($(shell echo `$(CC) -dumpversion` "< 4.9" | bc -l), 1)
CFLAGS += -march=armv7-a
else
HAVE_NEON = 1
ARCH = arm
BUILTIN_GPU = neon
+ DYNAREC = ari64
LDFLAGS += -static-libgcc -static-libstdc++ -fPIC
#######################################
ASFLAGS += -mfloat-abi=hard
endif
ARCH = arm
+ DYNAREC = ari64
# Windows
else
# what does this do
#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)
+#ifeq ($(DYNAREC),1)
+# make -f Makefile.libretro DYNAREC=0 platform=$(platform) clean
+# make -f Makefile.libretro DYNAREC=0 platform=$(platform)
#endif
#endif