mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
38 lines
1023 B
Makefile
38 lines
1023 B
Makefile
BUILD_PRX = 1
|
|
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 =
|
|
LIBS = -lstdc++ -lm -lpsppower
|
|
|
|
ifeq ($(HAVE_FILE_LOGGER), 1)
|
|
CFLAGS += -DHAVE_FILE_LOGGER
|
|
endif
|
|
|
|
CFLAGS += $(RARCH_DEFINES)
|
|
|
|
EXTRA_TARGETS = EBOOT.PBP
|
|
PSP_EBOOT_TITLE = RetroArch
|
|
PSP_EBOOT_ICON = psp1/ICON0.PNG
|
|
PSP_EBOOT_PIC1 = psp1/PIC1.PNG
|
|
|
|
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 libretro-common/compat/compat.o libretro-common/file/config_file.o psp1/kernel_functions.o
|
|
|
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
include $(PSPSDK)/lib/build.mak
|