aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2016-11-07 02:39:24 +0100
committertwinaphex2016-11-07 02:39:24 +0100
commitfe3ecfc7e1207ec895bfc939447a9916b42af561 (patch)
tree4c1902abe9ca43bcb5b60af9e8552a9624c231aa /Makefile
parent1cc61b98f35bc681105bdfe9726212d9727ea97f (diff)
downloadsnesemu-fe3ecfc7e1207ec895bfc939447a9916b42af561.tar.gz
snesemu-fe3ecfc7e1207ec895bfc939447a9916b42af561.tar.bz2
snesemu-fe3ecfc7e1207ec895bfc939447a9916b42af561.zip
Add wiiu target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dfe353e..3a87d57 100644
--- a/Makefile
+++ b/Makefile
@@ -190,6 +190,14 @@ else ifeq ($(platform), wii)
CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
STATIC_LINKING = 1
+# Nintendo WiiU
+else ifeq ($(platform), wiiu)
+ TARGET := $(TARGET_NAME)_libretro_$(platform).a
+ CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
+ AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
+ CFLAGS += -DGEKKO -DWIIU -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
+ STATIC_LINKING = 1
+
else ifeq ($(platform), emscripten)
TARGET := $(TARGET_NAME)_libretro_$(platform).bc
STATIC_LINKING = 1