(Libretro) Add PSP1 target

This commit is contained in:
twinaphex 2012-11-23 21:31:28 +01:00
parent cbe87962a3
commit 741814c890

View File

@ -35,7 +35,7 @@ else ifeq ($(platform), osx)
fpic := -fPIC
SHARED := -dynamiclib
else ifeq ($(platform), ps3)
TARGET := libretro.a
TARGET := libretro_ps3.a
CXX = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-g++.exe
AR = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe
PLATFORM_DEFINES := -D__CELLOS_LV2__
@ -51,6 +51,12 @@ else ifeq ($(platform), psl1ght)
CXX = $(PS3DEV)/ppu/bin/ppu-g++$(EXE_EXT)
AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
PLATFORM_DEFINES := -D__CELLOS_LV2__
else ifeq ($(platform), psp1)
TARGET := libretro_psp1.a
CC = psp-gcc$(EXE_EXT)
CXX = psp-g++$(EXE_EXT)
AR = psp-ar$(EXE_EXT)
PLATFORM_DEFINES := -DPSP
else ifeq ($(platform), xenon)
TARGET := libretro_xenon360.a
CC = xenon-gcc$(EXE_EXT)
@ -115,6 +121,8 @@ else ifeq ($(platform), sncps3)
$(AR) rcs $@ $(OBJS)
else ifeq ($(platform), psl1ght)
$(AR) rcs $@ $(OBJS)
else ifeq ($(platform), psp1)
$(AR) rcs $@ $(OBJS)
else ifeq ($(platform), xenon)
$(AR) rcs $@ $(OBJS)
else ifeq ($(platform), ngc)