diff options
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -95,6 +95,17 @@ else ifeq ($(platform), ctr) CFLAGS += -D_3DS PLATFORM_DEFINES := -D_3DS STATIC_LINKING := 1 +# GCW0 +else ifeq ($(platform), gcw0) + TARGET := $(TARGET_NAME)_libretro.so + CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc + CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++ + AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar + fpic := -fPIC + SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined + CFLAGS += -std=c99 -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float + CFLAGS += -fno-builtin -fno-exceptions + CFLAGS += -DPATH_MAX=256 else TARGET := $(TARGET_NAME)_libretro.dll CC = gcc |