diff options
author | twinaphex | 2016-03-04 06:37:04 +0100 |
---|---|---|
committer | twinaphex | 2016-03-04 06:37:04 +0100 |
commit | 7a5380ca8448ed840a3932fb1f4d65e43782c9a7 (patch) | |
tree | 27465a18dcfdbbcbc347ddd7592e0f8dcd498aaa /Makefile | |
parent | 5c11ca16d62c72e6048e187fd66702bbf90196ee (diff) | |
download | picogpsp-7a5380ca8448ed840a3932fb1f4d65e43782c9a7.tar.gz picogpsp-7a5380ca8448ed840a3932fb1f4d65e43782c9a7.tar.bz2 picogpsp-7a5380ca8448ed840a3932fb1f4d65e43782c9a7.zip |
Add gcw0 target
Diffstat (limited to 'Makefile')
-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 |