aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2015-09-15 02:44:23 +0200
committertwinaphex2015-09-15 02:44:23 +0200
commit8f0b31757a59fca623ed403c26b1529387588d4b (patch)
tree88e275a172f6f85f1e65e4a368483c18afb7f407
parent1a27bceee033388f782ad24a9f23a5ddc06f1d86 (diff)
downloadsnesemu-8f0b31757a59fca623ed403c26b1529387588d4b.tar.gz
snesemu-8f0b31757a59fca623ed403c26b1529387588d4b.tar.bz2
snesemu-8f0b31757a59fca623ed403c26b1529387588d4b.zip
Update Makefile
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 573b8fa..0fc4922 100644
--- a/Makefile
+++ b/Makefile
@@ -107,6 +107,8 @@ else ifeq ($(platform), qnx)
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
CC = qcc -Vgcc_ntoarmv7le
CXX = QCC -Vgcc_ntoarmv7le_cpp
+
+# PS3
else ifeq ($(platform), ps3)
TARGET := $(TARGET_NAME)_libretro_ps3.a
CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
@@ -115,6 +117,8 @@ else ifeq ($(platform), ps3)
STATIC_LINKING = 1
FLAGS += -DMSB_FIRST
OLD_GCC = 1
+
+# PS3 (SNC)
else ifeq ($(platform), sncps3)
TARGET := $(TARGET_NAME)_libretro_ps3.a
CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
@@ -166,6 +170,14 @@ else ifeq ($(platform), ctr)
PLATFORM_DEFINES := -D_3DS
STATIC_LINKING = 1
+# Nintendo Game Cube
+else ifeq ($(platform), ngc)
+ TARGET := $(TARGET_NAME)_libretro_ngc.a
+ CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
+ AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
+ CFLAGS += -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
+ STATIC_LINKING = 1
+
# Nintendo Wii
else ifeq ($(platform), wii)
TARGET := $(TARGET_NAME)_libretro_wii.a