diff options
author | twinaphex | 2016-03-01 22:30:02 +0100 |
---|---|---|
committer | twinaphex | 2016-03-01 22:30:02 +0100 |
commit | e0660daedf5204da39ff12ba83a4ac1a5f3b9bb3 (patch) | |
tree | 19eaba187537d3de779db8f1bcbb7814a057dc72 /Makefile | |
parent | 81def24a904cf870d10b7b3b0a0aca53eedbeba1 (diff) | |
download | snesemu-e0660daedf5204da39ff12ba83a4ac1a5f3b9bb3.tar.gz snesemu-e0660daedf5204da39ff12ba83a4ac1a5f3b9bb3.tar.bz2 snesemu-e0660daedf5204da39ff12ba83a4ac1a5f3b9bb3.zip |
Add GCW Zero target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -196,6 +196,19 @@ else ifeq ($(platform), wii) CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST 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 -nostdlib + SHARED := -shared -Wl,--version-script=link.T + + LIBM := + LOAD_FROM_MEMORY_TEST = 0 + CFLAGS += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float + else TARGET := $(TARGET_NAME)_libretro.dll CC = gcc |