aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErnesto Ramirez2015-09-14 19:04:56 -0500
committerErnesto Ramirez2015-09-14 19:04:56 -0500
commit499d645dd005fecd0ebd5acc7622e5210cfd7d59 (patch)
treeb6029bef1125ae4d2ee43aa1db018884381d575a /Makefile
parent81f30e6693fd26d738f5174284bb3b5c15205faf (diff)
downloadsnes9x2005-499d645dd005fecd0ebd5acc7622e5210cfd7d59.tar.gz
snes9x2005-499d645dd005fecd0ebd5acc7622e5210cfd7d59.tar.bz2
snes9x2005-499d645dd005fecd0ebd5acc7622e5210cfd7d59.zip
(Wii) Added buildfix.
It now compiles and runs on this platform.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 06a9498..573b8fa 100644
--- a/Makefile
+++ b/Makefile
@@ -166,6 +166,14 @@ else ifeq ($(platform), ctr)
PLATFORM_DEFINES := -D_3DS
STATIC_LINKING = 1
+# Nintendo Wii
+else ifeq ($(platform), wii)
+ TARGET := $(TARGET_NAME)_libretro_wii.a
+ CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
+ AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
+ CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
+ STATIC_LINKING = 1
+
else
TARGET := $(TARGET_NAME)_libretro.dll
CC = gcc