RetroArch/Makefile.psp1.salamander

59 lines
1.5 KiB
Makefile
Raw Normal View History

BUILD_PRX = 0
PSP_LARGE_MEMORY = 1
HAVE_KERNEL_PRX = 1
DEBUG = 0
TARGET = retroarchpsp_salamander
ifeq ($(DEBUG), 1)
OPTIMIZE_LV := -O0 -g
else
OPTIMIZE_LV := -O3
endif
INCDIR = $(PSPPATH)/include libretro-common/include
CFLAGS = $(OPTIMIZE_LV) -ffast-math -fsingle-precision-constant
ASFLAGS = $(CFLAGS)
RARCH_DEFINES = -DPSP -DIS_SALAMANDER -DRARCH_CONSOLE
LIBDIR =
LDFLAGS =
LIBS = -lstdc++ -lpsppower
2019-02-03 18:49:35 -05:00
CFLAGS += $(RARCH_DEFINES)
2015-09-20 09:35:17 -04:00
EXTRA_TARGETS = EBOOT.PBP
2014-06-05 22:05:15 -04:00
PSP_EBOOT_TITLE = RetroArch
2015-09-20 09:35:17 -04:00
PSP_EBOOT_ICON = pkg/psp1/ICON0.PNG
PSP_EBOOT_PIC1 = pkg/psp1/PIC1.PNG
2015-06-14 19:56:01 -04:00
OBJS = frontend/frontend_salamander.o \
frontend/frontend_driver.o \
frontend/drivers/platform_psp.o \
libretro-common/file/file_path.o \
libretro-common/file/file_path_io.o \
2015-12-26 01:45:19 -05:00
libretro-common/string/stdstring.o \
libretro-common/lists/string_list.o \
libretro-common/lists/dir_list.o \
2015-09-04 12:54:29 -04:00
libretro-common/file/retro_dirent.o \
2017-08-06 07:58:17 -04:00
libretro-common/encodings/encoding_utf.o \
2019-01-08 15:42:52 -05:00
libretro-common/compat/fopen_utf8.o \
2015-10-25 21:46:51 -04:00
libretro-common/compat/compat_strl.o \
libretro-common/compat/compat_strldup.o \
libretro-common/compat/compat_strcasestr.o \
2015-06-14 19:56:01 -04:00
libretro-common/file/config_file.o \
2016-03-20 11:29:14 -04:00
libretro-common/streams/file_stream.o \
libretro-common/vfs/vfs_implementation.o \
2020-12-28 14:24:55 -05:00
libretro-common/hash/lrc_hash.o \
2020-06-04 17:37:35 -04:00
libretro-common/time/rtime.o \
verbosity.o
ifeq ($(HAVE_KERNEL_PRX), 1)
2023-02-11 03:12:16 -05:00
OBJS += bootstrap/psp1/kernel_functions.o
CFLAGS += -DHAVE_KERNEL_PRX
endif
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak