mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 10:20:21 +00:00
32 lines
756 B
Makefile
32 lines
756 B
Makefile
RARCH_VERSION = "0.9.8-beta3"
|
|
|
|
HAVE_FILE_LOGGER = 1
|
|
|
|
TARGET = retroarchpsp
|
|
|
|
INCDIR =
|
|
CFLAGS = -O2 -G0 -Wall -g -std=gnu99 -ffast-math
|
|
ASFLAGS = $(CFLAGS)
|
|
|
|
RARCH_DEFINES = -DPSP -DHAVE_DEFAULT_RETROPAD_INPUT -DRARCH_CONSOLE -DHAVE_FILEBROWSER -DHAVE_RARCH_MAIN_WRAP -DHAVE_LIBRETRO_MANAGEMENT -DHAVE_ZLIB -DWANT_RZLIB -DHAVE_GRIFFIN=1 -DPACKAGE_VERSION=\"$(RARCH_VERSION)\" -Dmain=rarch_main
|
|
|
|
ifeq ($(HAVE_FILE_LOGGER), 1)
|
|
CFLAGS += -DHAVE_FILE_LOGGER
|
|
endif
|
|
|
|
CFLAGS += $(RARCH_DEFINES)
|
|
|
|
LIBDIR =
|
|
LDFLAGS =
|
|
LIBS = -lretro_psp1 -lstdc++ -lpspgu -lpspgum -lm
|
|
|
|
EXTRA_TARGETS = EBOOT.PBP
|
|
PSP_EBOOT_TITLE = RetroArch PSP1
|
|
|
|
PSP_OBJECTS = console/griffin/griffin.o
|
|
|
|
OBJS = $(PSP_OBJECTS)
|
|
|
|
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
include $(PSPSDK)/lib/build.mak
|