summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid G. F2021-06-27 01:30:50 +0200
committerGitHub2021-06-27 01:30:50 +0200
commit48f1a71fb7b1d551295aec7ea44f5529c87bff93 (patch)
treecc50bd05fd8fd14444825c4929fb94ea6e98b1dc /Makefile
parentd5ff18d3cebc56c351d95a3eec1873cd7112e31f (diff)
parent8dbf5f6c17e3d217877119620e5bbfeba05abd7a (diff)
downloadpicogpsp-48f1a71fb7b1d551295aec7ea44f5529c87bff93.tar.gz
picogpsp-48f1a71fb7b1d551295aec7ea44f5529c87bff93.tar.bz2
picogpsp-48f1a71fb7b1d551295aec7ea44f5529c87bff93.zip
Merge pull request #137 from davidgfnet/master
Enable big-endian devices: gc/wii
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cf0bfd1..5f7afff 100644
--- a/Makefile
+++ b/Makefile
@@ -195,6 +195,14 @@ else ifeq ($(platform), switch)
include $(LIBTRANSISTOR_HOME)/libtransistor.mk
STATIC_LINKING=1
+# Nintendo Game Cube / Wii / WiiU
+else ifneq (,$(filter $(platform), ngc wii 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 -mcpu=750 -meabi -mhard-float -DHAVE_STRTOF_L
+ STATIC_LINKING = 1
+
# PSP
else ifeq ($(platform), psp1)
TARGET := $(TARGET_NAME)_libretro_$(platform).a