summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2016-09-07 09:32:02 +0200
committertwinaphex2016-09-07 09:32:02 +0200
commite700ad78751555d0e7ec66c6b9b006853725fc19 (patch)
tree55daf06f05a3b7ca44b4ea689e2f69d3c8694c0a /Makefile
parent38007a82f211a33d8521ebaf481666e0bc151a06 (diff)
downloadpicogpsp-e700ad78751555d0e7ec66c6b9b006853725fc19.tar.gz
picogpsp-e700ad78751555d0e7ec66c6b9b006853725fc19.tar.bz2
picogpsp-e700ad78751555d0e7ec66c6b9b006853725fc19.zip
Update Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ce7df43..eccab17 100644
--- a/Makefile
+++ b/Makefile
@@ -268,7 +268,7 @@ else ifeq ($(platform), xenon)
# Nintendo Game Cube
else ifeq ($(platform), ngc)
- TARGET := $(TARGET_NAME)_libretro_ngc.a
+ TARGET := $(TARGET_NAME)_libretro_$(platform).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 -DMSB_FIRST -D__ppc__
@@ -276,7 +276,7 @@ else ifeq ($(platform), ngc)
# Nintendo Wii
else ifeq ($(platform), wii)
- TARGET := $(TARGET_NAME)_libretro_wii.a
+ TARGET := $(TARGET_NAME)_libretro_$(platform).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 -DMSB_FIRST -D__ppc__
@@ -320,7 +320,8 @@ else ifneq (,$(findstring armv,$(platform)))
# emscripten
else ifeq ($(platform), emscripten)
- TARGET := $(TARGET_NAME)_libretro_emscripten.bc
+ TARGET := $(TARGET_NAME)_libretro_$(platform).bc
+ STATIC_LINKING = 1
# GCW0
else ifeq ($(platform), gcw0)