TARGET := $(TARGET_NAME)_libretro.$(EXT)
fpic := -fPIC
SHARED := -shared
- DONT_COMPILE_IN_ZLIB = 1
CFLAGS += -DFAMEC_NO_GOTOS
ifneq ($(findstring SunOS,$(shell uname -a)),)
CC=gcc
SHARED := -shared -nostdlib
fpic := -fPIC
LIBM :=
- DONT_COMPILE_IN_ZLIB = 1
CFLAGS += -DFAMEC_NO_GOTOS
# OS X
CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DFAMEC_NO_GOTOS
STATIC_LINKING = 1
NO_MMAP = 1
- DONT_COMPILE_IN_ZLIB = 1
# sncps3
else ifeq ($(platform), sncps3)
CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DFAMEC_NO_GOTOS
STATIC_LINKING = 1
NO_MMAP = 1
- DONT_COMPILE_IN_ZLIB = 1
# Lightweight PS3 Homebrew SDK
else ifeq ($(platform), psl1ght)
CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DFAMEC_NO_GOTOS
STATIC_LINKING = 1
NO_MMAP = 1
- DONT_COMPILE_IN_ZLIB = 1
# PSP
else ifeq ($(platform), psp1)
CFLAGS += -DPSP
STATIC_LINKING = 1
NO_MMAP = 1
- DONT_COMPILE_IN_ZLIB = 1
asm_render = 1
CFLAGS += -DHAVE_NO_LANGEXTRA
STATIC_LINKING = 1
NO_MMAP = 1
- DONT_COMPILE_IN_ZLIB = 1
asm_render = 1
OBJS += platform/ps2/asm.o
CFLAGS += -fomit-frame-pointer -ffast-math
STATIC_LINKING = 1
NO_MMAP = 1
- DONT_COMPILE_IN_ZLIB = 1
OBJS += platform/libretro/3ds/3ds_utils.o platform/libretro/3ds/utils.o
TARGET := $(TARGET_NAME)_libretro.so
SHARED := -shared
fpic := -fPIC
- DONT_COMPILE_IN_ZLIB = 1
# Vita
else ifeq ($(platform), vita)
CFLAGS += -fno-optimize-sibling-calls
STATIC_LINKING = 1
NO_MMAP = 1
- DONT_COMPILE_IN_ZLIB = 1
# Xbox 360
else ifeq ($(platform), xenon)
ARCH = aarch64
fpic := -fPIC
SHARED := -shared
- DONT_COMPILE_IN_ZLIB = 1
CFLAGS += -DFAMEC_NO_GOTOS
# AARCH64 generic
ARCH = aarch64
fpic := -fPIC
SHARED := -shared
- DONT_COMPILE_IN_ZLIB = 1
CFLAGS += -DFAMEC_NO_GOTOS
# ARM
else ifeq ($(platform), emscripten)
TARGET := $(TARGET_NAME)_libretro_$(platform).bc
ARCH = unknown
- DONT_COMPILE_IN_ZLIB = 1
# GCW0
else ifeq ($(platform), gcw0)
SHARED := -shared -nostdlib
fpic := -fPIC
LIBM :=
- DONT_COMPILE_IN_ZLIB = 1
CFLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
# Windows MSVC 2017 all architectures