summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2020-10-08 23:56:18 +0200
committertwinaphex2020-10-08 23:56:18 +0200
commit9fc166ebb26f1448a257adc2f86f34e9106a8f2f (patch)
treec442aee70ab3dd819cc72e6047e1c25f1fedec75 /Makefile
parent679006a296e195b791c0f258b15ee23de2145bad (diff)
downloadpicogpsp-9fc166ebb26f1448a257adc2f86f34e9106a8f2f.tar.gz
picogpsp-9fc166ebb26f1448a257adc2f86f34e9106a8f2f.tar.bz2
picogpsp-9fc166ebb26f1448a257adc2f86f34e9106a8f2f.zip
Update Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 000203e..dd5454b 100644
--- a/Makefile
+++ b/Makefile
@@ -181,16 +181,16 @@ else ifeq ($(platform), qnx)
# PS3
else ifeq ($(platform), ps3)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
- CC ?= $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
- AR ?= $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe
+ CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
+ AR = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe
CFLAGS += -DMSB_FIRST -D__ppc__
STATIC_LINKING = 1
# sncps3
else ifeq ($(platform), sncps3)
TARGET := $(TARGET_NAME)_libretro_ps3.a
- CC ?= $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
- AR ?= $(CELL_SDK)/host-win32/sn/bin/ps3snarl.exe
+ CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
+ AR = $(CELL_SDK)/host-win32/sn/bin/ps3snarl.exe
CFLAGS += -DMSB_FIRST -D__ppc__
STATIC_LINKING = 1
@@ -212,8 +212,8 @@ else ifeq ($(platform), switch)
# PSP
else ifeq ($(platform), psp1)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
- CC ?= psp-gcc$(EXE_EXT)
- AR ?= psp-ar$(EXE_EXT)
+ CC = psp-gcc$(EXE_EXT)
+ AR = psp-ar$(EXE_EXT)
CFLAGS += -DPSP -G0
CFLAGS += -I$(shell psp-config --pspsdk-path)/include
CFLAGS += -march=allegrex -mfp32 -mgp32 -mlong32 -mabi=eabi
@@ -242,9 +242,9 @@ else ifeq ($(platform), vita)
# CTR(3DS)
else ifeq ($(platform), ctr)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
- CC ?= $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT)
- CXX ?= $(DEVKITARM)/bin/arm-none-eabi-g++$(EXE_EXT)
- AR ?= $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT)
+ CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT)
+ CXX = $(DEVKITARM)/bin/arm-none-eabi-g++$(EXE_EXT)
+ AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT)
CFLAGS += -DARM11 -D_3DS
CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard
CFLAGS += -Wall -mword-relocations
@@ -343,16 +343,16 @@ else ifeq ($(platform), xenon)
# Nintendo Game Cube
else ifeq ($(platform), ngc)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
- CC ?= $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
- AR ?= $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
+ 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__
STATIC_LINKING = 1
# Nintendo Wii
else ifeq ($(platform), wii)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
- CC ?= $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
- AR ?= $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
+ 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__
STATIC_LINKING = 1