RetroArch/Makefile.psp1.salamander

51 lines
1.2 KiB
Makefile
Raw Normal View History

BUILD_PRX = 1
2014-06-06 03:14:02 +00:00
HAVE_FILE_LOGGER = 0
DEBUG = 0
TARGET = retroarchpsp_salamander
ifeq ($(DEBUG), 1)
OPTIMIZE_LV := -O0 -g
else
OPTIMIZE_LV := -O2 -g
endif
INCDIR = $(PSPPATH)/include libretro-common/include
CFLAGS = $(OPTIMIZE_LV) -G0 -std=gnu99 -ffast-math
ASFLAGS = $(CFLAGS)
RARCH_DEFINES = -DPSP -DIS_SALAMANDER -DRARCH_CONSOLE
LIBDIR =
LDFLAGS =
2015-04-18 13:28:06 +00:00
LIBS = -lstdc++ -lm -lpsppower
ifeq ($(HAVE_FILE_LOGGER), 1)
CFLAGS += -DHAVE_FILE_LOGGER
endif
CFLAGS += $(RARCH_DEFINES)
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
2015-06-14 23:56:01 +00:00
OBJS = frontend/frontend_salamander.o \
frontend/frontend_driver.o \
frontend/drivers/platform_psp.o \
frontend/drivers/platform_null.o \
libretro-common/file/file_path.o \
libretro-common/string/string_list.o \
libretro-common/file/dir_list.o \
2015-09-04 16:54:29 +00:00
libretro-common/file/retro_dirent.o \
2015-10-26 01:46:51 +00:00
libretro-common/compat/compat_strl.o \
2015-06-14 23:56:01 +00:00
libretro-common/file/config_file.o \
2015-09-17 18:48:06 +00:00
libretro-common/file/retro_file.o \
2015-09-21 23:45:16 +00:00
libretro-common/file/retro_stat.o \
2015-06-14 23:56:01 +00:00
libretro-common/hash/rhash.o \
2015-09-20 13:33:54 +00:00
bootstrap/psp1/kernel_functions.o
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak