diff options
author | Francisco Javier Trujillo Mata | 2019-10-12 12:47:38 +0200 |
---|---|---|
committer | Francisco Javier Trujillo Mata | 2021-02-06 14:19:00 +0100 |
commit | b581c72d0245ddcc6e7208b5527bf001dae94adc (patch) | |
tree | f01e544579d3779c9fb539d4ab8d8b8069727175 /Makefile | |
parent | ff6a6e6e6482ac1a773b192f87916688ebd86abd (diff) | |
download | snes9x2002-b581c72d0245ddcc6e7208b5527bf001dae94adc.tar.gz snes9x2002-b581c72d0245ddcc6e7208b5527bf001dae94adc.tar.bz2 snes9x2002-b581c72d0245ddcc6e7208b5527bf001dae94adc.zip |
Add BGR support and add PS2 platform
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -170,6 +170,16 @@ else ifeq ($(platform), classic_armv7_a7) endif ####################################### +else ifeq ($(platform), ps2) + TARGET := $(TARGET_NAME)_libretro_$(platform).a + CC = mips64r5900el-ps2-elf-gcc$(EXE_EXT) + CXX = mips64r5900el-ps2-elf-g++$(EXE_EXT) + AR = mips64r5900el-ps2-elf-ar$(EXE_EXT) + STATIC_LINKING = 1 + LOAD_FROM_MEMORY_TEST = 0 + CFLAGS += -DPS2 -G0 -DFRAME_SKIP -fomit-frame-pointer -ffast-math + STATIC_LINKING := 1 + else ifeq ($(platform), psp1) TARGET := $(TARGET_NAME)_libretro_$(platform).a CC = psp-gcc$(EXE_EXT) @@ -335,7 +345,7 @@ LIBRETRO_DIR := ./libretro ifeq ($(DEBUG), 1) DEFINES += -O0 -g else -DEFINES += -O2 -DNDEBUG=1 +DEFINES += -O3 -DNDEBUG=1 endif LDFLAGS += $(LIBM) |