mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2025-01-27 18:35:29 +01:00
Add GCW0 target
This commit is contained in:
parent
258a8754c7
commit
12713211fd
@ -257,6 +257,18 @@ else ifeq ($(platform), emscripten)
|
|||||||
TARGET := $(TARGET_NAME)_libretro_emscripten.bc
|
TARGET := $(TARGET_NAME)_libretro_emscripten.bc
|
||||||
ENDIANNESS_DEFINES := -DLSB_FIRST -DALIGN_LONG -DHAVE_ALLOCA_H -DUSE_DYNAMIC_ALLOC -DUSE_MEMORY_H -DBYTE_ORDER=BIG_ENDIAN -DHAVE_ZLIB
|
ENDIANNESS_DEFINES := -DLSB_FIRST -DALIGN_LONG -DHAVE_ALLOCA_H -DUSE_DYNAMIC_ALLOC -DUSE_MEMORY_H -DBYTE_ORDER=BIG_ENDIAN -DHAVE_ZLIB
|
||||||
|
|
||||||
|
# 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 -Wl,--version-script=libretro/link.T -Wl,--no-undefined
|
||||||
|
fpic := -fPIC
|
||||||
|
LDFLAGS += $(PTHREAD_FLAGS)
|
||||||
|
CFLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR
|
||||||
|
CFLAGS += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
else
|
else
|
||||||
TARGET := $(TARGET_NAME)_libretro.dll
|
TARGET := $(TARGET_NAME)_libretro.dll
|
||||||
|
Loading…
x
Reference in New Issue
Block a user