2 STRIP = arm-linux-strip
3 TFLAGS = -mcpu=arm920t -Izlib -DGP2X=1 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB -DFRAMESKIP -D_REENTRANT
19 OBJDRIVER = ${B}minimal.o ${B}sdl.o ${B}main.o ${B}throttle.o ${B}unix-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}sdl-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o ${UNZIPOBJS} ppu.o
20 LDRIVER = -L /mnt/sd/lib -L/mnt/sd/gp2x/usr/lib -lm -lpthread -lz -static
21 # `arm-linux-sdl-config --libs`
25 ${B}sdl-joystick.o: ${B}sdl-joystick.c
26 ${B}main.o: ${B}main.c ${B}main.h ${B}usage.h ${B}input.c ${B}keyscan.h
27 ${B}sdl.o: ${B}sdl.c ${B}sdl.h
28 ${B}sdl-video.o: ${B}sdl-video.c
29 ${B}sdl-video.o: ${B}minimal.c
30 ${B}sdl-sound.o: ${B}sdl-sound.c
31 #${B}sdl-netplay.o: ${B}sdl-netplay.c
32 ${B}unix-netplay.o: ${B}unix-netplay.c
33 ${B}throttle.o: ${B}throttle.c ${B}main.h ${B}throttle.h
36 include Makefile.common
39 cp -v fceu /mnt/gp2x/mnt/sd/emus/Gpfce_v02/gpfce