aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTwinaphex2015-09-15 02:39:11 +0200
committerTwinaphex2015-09-15 02:39:11 +0200
commit1a27bceee033388f782ad24a9f23a5ddc06f1d86 (patch)
treeb6029bef1125ae4d2ee43aa1db018884381d575a /Makefile
parentadee2d889bb4edbec367117ab39246a9e2161336 (diff)
parent499d645dd005fecd0ebd5acc7622e5210cfd7d59 (diff)
downloadsnes9x2005-1a27bceee033388f782ad24a9f23a5ddc06f1d86.tar.gz
snes9x2005-1a27bceee033388f782ad24a9f23a5ddc06f1d86.tar.bz2
snes9x2005-1a27bceee033388f782ad24a9f23a5ddc06f1d86.zip
Merge pull request #9 from netux79/master
(Wii) Buildfix and Wii target entry.
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