2017-12-11 23:04:35 +00:00
|
|
|
BUILD_PRX = 0
|
|
|
|
PSP_LARGE_MEMORY = 1
|
2014-06-06 03:14:02 +00:00
|
|
|
HAVE_FILE_LOGGER = 0
|
2014-06-04 23:17:37 +00:00
|
|
|
DEBUG = 0
|
|
|
|
|
|
|
|
TARGET = retroarchpsp_salamander
|
|
|
|
|
|
|
|
ifeq ($(DEBUG), 1)
|
|
|
|
OPTIMIZE_LV := -O0 -g
|
|
|
|
else
|
2017-12-11 23:04:35 +00:00
|
|
|
OPTIMIZE_LV := -O2
|
2014-06-04 23:17:37 +00:00
|
|
|
endif
|
|
|
|
|
2015-02-18 23:04:03 +00:00
|
|
|
INCDIR = $(PSPPATH)/include libretro-common/include
|
2014-06-04 23:17:37 +00:00
|
|
|
CFLAGS = $(OPTIMIZE_LV) -G0 -std=gnu99 -ffast-math
|
|
|
|
ASFLAGS = $(CFLAGS)
|
|
|
|
|
2015-01-12 05:51:57 +00:00
|
|
|
RARCH_DEFINES = -DPSP -DIS_SALAMANDER -DRARCH_CONSOLE
|
2014-06-04 23:17:37 +00:00
|
|
|
|
|
|
|
LIBDIR =
|
|
|
|
LDFLAGS =
|
2015-04-18 13:28:06 +00:00
|
|
|
LIBS = -lstdc++ -lm -lpsppower
|
2014-06-04 23:17:37 +00:00
|
|
|
|
|
|
|
ifeq ($(HAVE_FILE_LOGGER), 1)
|
|
|
|
CFLAGS += -DHAVE_FILE_LOGGER
|
|
|
|
endif
|
|
|
|
|
2019-02-03 23:49:35 +00:00
|
|
|
CFLAGS += $(RARCH_DEFINES)
|
2014-06-04 23:17:37 +00:00
|
|
|
|
2015-09-20 13:35:17 +00:00
|
|
|
EXTRA_TARGETS = EBOOT.PBP
|
2014-06-06 02:05:15 +00:00
|
|
|
PSP_EBOOT_TITLE = RetroArch
|
2015-09-20 13:35:17 +00:00
|
|
|
PSP_EBOOT_ICON = pkg/psp1/ICON0.PNG
|
|
|
|
PSP_EBOOT_PIC1 = pkg/psp1/PIC1.PNG
|
2014-06-04 23:17:37 +00:00
|
|
|
|
2015-06-14 23:56:01 +00:00
|
|
|
OBJS = frontend/frontend_salamander.o \
|
|
|
|
frontend/frontend_driver.o \
|
|
|
|
frontend/drivers/platform_psp.o \
|
|
|
|
libretro-common/file/file_path.o \
|
2020-01-09 14:44:48 +00:00
|
|
|
libretro-common/file/file_path_io.o \
|
2015-12-26 06:45:19 +00:00
|
|
|
libretro-common/string/stdstring.o \
|
2016-03-20 13:53:54 +00:00
|
|
|
libretro-common/lists/string_list.o \
|
|
|
|
libretro-common/lists/dir_list.o \
|
2015-09-04 16:54:29 +00:00
|
|
|
libretro-common/file/retro_dirent.o \
|
2017-08-06 11:58:17 +00:00
|
|
|
libretro-common/encodings/encoding_utf.o \
|
2019-01-08 20:42:52 +00:00
|
|
|
libretro-common/compat/fopen_utf8.o \
|
2015-10-26 01:46:51 +00:00
|
|
|
libretro-common/compat/compat_strl.o \
|
2016-12-17 18:35:51 +00:00
|
|
|
libretro-common/compat/compat_strcasestr.o \
|
2015-06-14 23:56:01 +00:00
|
|
|
libretro-common/file/config_file.o \
|
2016-03-20 15:29:14 +00:00
|
|
|
libretro-common/streams/file_stream.o \
|
2017-12-14 14:18:48 +00:00
|
|
|
libretro-common/vfs/vfs_implementation.o \
|
2015-06-14 23:56:01 +00:00
|
|
|
libretro-common/hash/rhash.o \
|
2016-06-20 16:14:13 +00:00
|
|
|
file_path_str.o \
|
2015-11-23 11:03:38 +00:00
|
|
|
verbosity.o \
|
2019-02-03 23:49:35 +00:00
|
|
|
bootstrap/psp1/kernel_functions.o
|
2014-06-04 23:17:37 +00:00
|
|
|
|
|
|
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
|
|
include $(PSPSDK)/lib/build.mak
|