diff --git a/libgambatte/Makefile.libretro b/libgambatte/Makefile.libretro index b1687d6..3b6feb2 100644 --- a/libgambatte/Makefile.libretro +++ b/libgambatte/Makefile.libretro @@ -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)