original source from gpsp09-2xb_src.tar.bz2
[gpsp.git] / psp / Makefile
1 # -x assembler-with-cpp
2 # gpSP makefile
3 # Gilead Kutnick - Exophase
4
5 # Global definitions
6
7 PSPSDK          = ${shell psp-config --pspsdk-path}
8 PREFIX          = ${shell psp-config --psp-prefix}
9
10 OBJS            = main.o cpu.o video.o memory.o sound.o input.o \
11                   cpu_threaded.o gui.o zip.o cheats.o mips_stub.o 
12
13 TARGET          = gpSP
14
15 VPATH           += ..
16 CFLAGS          += -O3 -DPSP_BUILD -G0 -funsigned-char
17 CFLAGS          += ${shell ${PREFIX}/bin/sdl-config --cflags}
18 ASFLAGS         = ${CFLAGS}
19 PSP_EBOOT_TITLE = gpSP
20 EXTRA_TARGETS   = EBOOT.PBP
21
22 LIBS            += ${shell ${PREFIX}/bin/sdl-config --libs} -lpsppower \
23                   -lz
24
25 include ${PSPSDK}/lib/build.mak
26