diff options
author | Autechre | 2022-03-22 15:33:38 +0100 |
---|---|---|
committer | GitHub | 2022-03-22 15:33:38 +0100 |
commit | 7ab2e3962bb1787f675e246ed2e13c23b36e8437 (patch) | |
tree | a8e5e5a906c7bde2659e88bd9b71743eec655196 | |
parent | a279e2b216919d79777928bad01e3d92039ad0fb (diff) | |
parent | b67311ea5b5ebaa61a4290bf87fb28784aa8ddcf (diff) | |
download | snes9x2005-7ab2e3962bb1787f675e246ed2e13c23b36e8437.tar.gz snes9x2005-7ab2e3962bb1787f675e246ed2e13c23b36e8437.tar.bz2 snes9x2005-7ab2e3962bb1787f675e246ed2e13c23b36e8437.zip |
Merge pull request #94 from crystalct/master
PS3/PSL1GHT Makefile update
-rw-r--r-- | Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
@@ -186,24 +186,18 @@ else ifeq ($(platform), qnx) SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T CC = qcc -Vgcc_ntoarmv7le CXX = QCC -Vgcc_ntoarmv7le_cpp -# PS3 -else ifeq ($(platform), ps3) +# Lightweight PS3 Homebrew SDK +else ifneq (,$(filter $(platform), ps3 psl1ght)) TARGET := $(TARGET_NAME)_libretro_$(platform).a - CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe - CXX = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-g++.exe - AR = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe + CC = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV)gcc$(EXE_EXT) + CXX = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV)g++$(EXE_EXT) + AR = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV)ar$(EXE_EXT) STATIC_LINKING = 1 - FLAGS += -DMSB_FIRST + FLAGS += -DMSB_FIRST -D__PS3__ OLD_GCC = 1 -# PS3 (SNC) -else ifeq ($(platform), sncps3) - TARGET := $(TARGET_NAME)_libretro_ps3.a - CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe - CXX = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe - AR = $(CELL_SDK)/host-win32/sn/bin/ps3snarl.exe - STATIC_LINKING = 1 - FLAGS += -DMSB_FIRST - NO_GCC = 1 + ifeq ($(platform), psl1ght) + FLAGS += -D__PSL1GHT__ + endif # PSP1 else ifeq ($(platform), psp1) TARGET := $(TARGET_NAME)_libretro_$(platform).a |