diff options
author | twinaphex | 2016-03-01 22:31:55 +0100 |
---|---|---|
committer | twinaphex | 2016-03-01 22:31:55 +0100 |
commit | c87b24f54d0e6ac3478902ebd71bbacd122d3712 (patch) | |
tree | 4993b014a585e91096fd833f13312fff329e1692 /Makefile | |
parent | 033a61a80cc1249fa81f16dda8d1f9e54242be20 (diff) | |
download | snes9x2002-c87b24f54d0e6ac3478902ebd71bbacd122d3712.tar.gz snes9x2002-c87b24f54d0e6ac3478902ebd71bbacd122d3712.tar.bz2 snes9x2002-c87b24f54d0e6ac3478902ebd71bbacd122d3712.zip |
Add GCW Zero target
Diffstat (limited to 'Makefile')
-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 |