From 495a2af534594a0716c9486b2f228fdc2924d9d9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 1 Mar 2016 22:30:22 +0100 Subject: [PATCH] Add GCW Zero target --- Makefile.libretro | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index f9395fc..30a775d 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -233,6 +233,17 @@ else ifneq (,$(findstring armv,$(platform))) endif PLATFORM_DEFINES += -DARM +# 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=src/drivers/libretro/link.T -Wl,-no-undefined + PLATFORM_DEFINES += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float + CFLAGS += -DHAVE_ASPRINTF + EXTERNAL_ZLIB = 1 # Windows else TARGET := $(TARGET_NAME)_libretro.dll