RetroArch/Makefile.psp1

32 lines
683 B
Makefile
Raw Normal View History

2013-06-28 12:11:10 +00:00
RARCH_VERSION = "0.9.9.3"
2012-11-23 06:19:21 +00:00
2012-11-26 01:59:29 +00:00
HAVE_FILE_LOGGER = 1
TARGET = retroarchpsp
2012-11-23 06:19:21 +00:00
INCDIR =
CFLAGS = -O2 -G0 -g -std=gnu99 -ffast-math
2012-11-23 06:19:21 +00:00
ASFLAGS = $(CFLAGS)
RARCH_DEFINES = -DPSP -DHAVE_RARCH_MAIN_WRAP -DHAVE_RARCH_MAIN_IMPLEMENTATION -DHAVE_LIBRETRO_MANAGEMENT -DHAVE_ZLIB -DWANT_MINIZ -DHAVE_GRIFFIN=1 -DHAVE_NULLVIDEO -DHAVE_NULLAUDIO
2012-11-26 01:59:29 +00:00
ifeq ($(HAVE_FILE_LOGGER), 1)
CFLAGS += -DHAVE_FILE_LOGGER
endif
2012-11-23 06:19:21 +00:00
CFLAGS += $(RARCH_DEFINES)
LIBDIR =
LDFLAGS =
LIBS = -lretro_psp1 -lstdc++ -lpspgu -lpspgum -lm
2012-11-23 06:19:21 +00:00
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = RetroArch PSP1
2012-11-23 06:19:21 +00:00
PSP_OBJECTS = griffin/griffin.o
OBJS = $(PSP_OBJECTS)
PSPSDK=$(shell psp-config --pspsdk-path)
2012-11-23 06:19:21 +00:00
include $(PSPSDK)/lib/build.mak