diff --git a/libretro/Makefile b/libretro/Makefile index 83e48dc..f4c086b 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -230,13 +230,16 @@ else ifeq ($(platform), rpi4_64) PLATFORM_DEFINES += -mcpu=cortex-a72 -mtune=cortex-a72 -ffast-math # Lightweight PS3 Homebrew SDK -else ifeq ($(platform), psl1ght) +else ifneq (,$(filter $(platform), ps3 psl1ght)) TARGET := $(TARGET_NAME)_libretro_$(platform).a - CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT) - CXX = $(PS3DEV)/ppu/bin/ppu-g++$(EXE_EXT) - AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT) - PLATFORM_DEFINES := + CC = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV)gcc$(EXE_EXT) + AR = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV)ar$(EXE_EXT) + CXX = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV)g++$(EXE_EXT) + PLATFORM_DEFINES += -D__PS3__ STATIC_LINKING = 1 + ifeq ($(platform), psl1ght) + PLATFORM_DEFINES += -D__PSL1GHT__ + endif # Windows MSVC 2003 Xbox 1 else ifeq ($(platform), xbox1_msvc2003)