diff options
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -305,6 +305,17 @@ else ifneq (,$(findstring armv,$(platform))) else ifeq ($(platform), emscripten) TARGET := $(TARGET_NAME)_libretro_emscripten.bc +# 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 + SHARED := -shared -nostdlib -Wl,--version-script=link.T + fpic := -fPIC + CFLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR + CFLAGS += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float + # Windows else TARGET := $(TARGET_NAME)_libretro.dll |