Commit b0b9e155 authored by unknown's avatar unknown
Browse files

PS3/PSL1GHT Makefile update

parent 42bff0ee
...@@ -145,14 +145,18 @@ else ifeq ($(platform), vita) ...@@ -145,14 +145,18 @@ else ifeq ($(platform), vita)
STATIC_LINKING = 1 STATIC_LINKING = 1
# Lightweight PS3 Homebrew SDK # Lightweight PS3 Homebrew SDK
else ifeq ($(platform), psl1ght) else ifneq (,$(filter $(platform), ps3 psl1ght))
TARGET := $(TARGET_NAME)_libretro_$(platform).a TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT) CC = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV)gcc$(EXE_EXT)
CXX = $(PS3DEV)/ppu/bin/ppu-g++$(EXE_EXT) CXX = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV)g++$(EXE_EXT)
AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT) AR = $(PS3DEV)/ppu/bin/ppu-$(COMMONLV)ar$(EXE_EXT)
CFLAGS += -DIOAPI_NO_64 CFLAGS += -DIOAPI_NO_64 -D__PS3__
CXXFLAGS += -DIOAPI_NO_64 CXXFLAGS += -DIOAPI_NO_64 -D__PS3__
STATIC_LINKING = 1 STATIC_LINKING = 1
ifeq ($(platform), psl1ght)
CFLAGS += -D__PSL1GHT__
CXXFLAGS += -D__PSL1GHT__
endif
# Xbox 360 # Xbox 360
else ifeq ($(platform), xenon) else ifeq ($(platform), xenon)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment