Merge pull request #514 from negativeExponent/fopen_utf8
[pcsx_rearmed.git] / Makefile.libretro
index bdc7b6e..bd74dec 100644 (file)
@@ -94,9 +94,6 @@ else ifeq ($(platform), osx)
        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"`
@@ -123,9 +120,6 @@ else ifneq (,$(findstring ios,$(platform)))
 ifeq ($(DYNAREC),lightrec)
        # Override
        DYNAREC := 0
-endif
-ifeq ($(DYNAREC),0)
-       TARGET := $(TARGET_NAME)_interpreter_libretro_ios.dylib
 endif
        fpic := -fPIC
 
@@ -164,9 +158,6 @@ else ifeq ($(platform), tvos-arm64)
 ifeq ($(DYNAREC),lightrec)
        # Override
        DYNAREC := 0
-endif
-ifeq ($(DYNAREC),0)
-       TARGET := $(TARGET_NAME)_interpreter_libretro_tvos.dylib
 endif
        fpic := -fPIC
 
@@ -261,6 +252,7 @@ else ifeq ($(platform), ctr)
        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