revive PC build, support Linux
[gpsp.git] / psp / Makefile
CommitLineData
2823a4c8 1# -x assembler-with-cpp
2# gpSP makefile
3# Gilead Kutnick - Exophase
4
5# Global definitions
6
7PSPSDK = ${shell psp-config --pspsdk-path}
8PREFIX = ${shell psp-config --psp-prefix}
9
10OBJS = 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
13TARGET = gpSP
14
15VPATH += ..
16CFLAGS += -O3 -DPSP_BUILD -G0 -funsigned-char
17CFLAGS += ${shell ${PREFIX}/bin/sdl-config --cflags}
18ASFLAGS = ${CFLAGS}
19PSP_EBOOT_TITLE = gpSP
20EXTRA_TARGETS = EBOOT.PBP
21
22LIBS += ${shell ${PREFIX}/bin/sdl-config --libs} -lpsppower \
23 -lz
24
25include ${PSPSDK}/lib/build.mak
26