DEBUG ?= 0
WANT_ZLIB ?= 1
HAVE_CHD ?= 1
+USE_LIBRETRO_VFS ?= 0
+ENABLE_ICACHE_EMULATION ?= 1
# Dynarec options: lightrec, ari64
DYNAREC ?= lightrec
TARGET := $(TARGET_NAME)_libretro.dylib
fpic := -fPIC
HAVE_NEON = 0
-ifeq ($(DYNAREC),0)
- TARGET := $(TARGET_NAME)_interpreter_libretro.dylib
-endif
MACSOSVER = `sw_vers -productVersion | cut -d. -f 1`
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
ifeq ($(DYNAREC),lightrec)
# Override
DYNAREC := 0
-endif
-ifeq ($(DYNAREC),0)
- TARGET := $(TARGET_NAME)_interpreter_libretro_ios.dylib
endif
fpic := -fPIC
ifeq ($(DYNAREC),lightrec)
# Override
DYNAREC := 0
-endif
-ifeq ($(DYNAREC),0)
- TARGET := $(TARGET_NAME)_interpreter_libretro_tvos.dylib
endif
fpic := -fPIC
CFLAGS += -fomit-frame-pointer -ffast-math -funroll-loops
CFLAGS += -Ifrontend/3ds -I$(CTRULIB)/include
CFLAGS += -Werror=implicit-function-declaration
+ CFLAGS += -DHAVE_UNISTD_H
OBJS += frontend/3ds/utils.o
LIBPTHREAD :=
LIBDL :=
LIBM :=
+ USE_LIBRETRO_VFS = 1
endif
CFLAGS += $(fpic)