summaryrefslogtreecommitdiff
path: root/psp/Makefile
blob: 9906e6f04eb9d5edfdaf198ea939ff3ca3131359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -x assembler-with-cpp
# gpSP makefile
# Gilead Kutnick - Exophase

# Global definitions

PSPSDK          = ${shell psp-config --pspsdk-path}
PREFIX          = ${shell psp-config --psp-prefix}

OBJS            = main.o cpu.o video.o memory.o sound.o input.o \
 	          cpu_threaded.o gui.o zip.o cheats.o mips_stub.o 

TARGET          = gpSP

VPATH           += ..
CFLAGS          += -O3 -DPSP_BUILD -G0 -funsigned-char
CFLAGS          += ${shell ${PREFIX}/bin/sdl-config --cflags}
ASFLAGS         = ${CFLAGS}
PSP_EBOOT_TITLE = gpSP
EXTRA_TARGETS   = EBOOT.PBP

LIBS            += ${shell ${PREFIX}/bin/sdl-config --libs} -lpsppower \
		  -lz

include ${PSPSDK}/lib/build.mak