4 TFLAGS = -Winline -Izlib -DLSB_FIRST -DUNIX -DPSS_STYLE=1 -DHAVE_ASPRINTF -DZLIB -DFRAMESKIP -D_REENTRANT `sdl-config --cflags`
17 TFLAGS += -ftracer -fstrength-reduce -funroll-loops -fomit-frame-pointer -fstrict-aliasing -ffast-math
18 TFLAGS += -O3 #-pg -fno-omit-frame-pointer
19 LDRIVER += -O3 #-pg -fno-omit-frame-pointer
32 OBJDRIVER = drivers/gp2x_test/minimal.o drivers/gp2x_test/throttle.o \
33 ${G}gp2x.o ${G}main.o ${G}gp2x-sound.o ${G}gp2x-video.o \
34 ${G}usbjoy.o ${G}menu.o \
35 ${L}fonts.o ${L}readpng.o ${L}linux/plat.o \
36 ${C}cheat.o ${C}config.o ${C}args.o ${C}vidblit.o ${C}unix-netplay.o \
38 ppu.o movie.o fceu098.o ppu098.o
39 LDRIVER += -lm -lz -lpng `sdl-config --libs`
43 x6502.o: x6502.c x6502.h ops.h fce.h sound.h dprintf.h
47 ${B}main.o: ${B}main.c ${B}main.h ${B}usage.h ${B}input.c
48 ${B}gp2x.o: ${B}gp2x.c ${B}gp2x.h ${B}rev.h
49 ${B}throttle.o: ${B}throttle.c ${B}main.h ${B}throttle.h
53 @if [ -f $@ ]; then prevrev=`cat $@`; else prevrev="00"; fi; \
54 if [ "`which svn`" != "" ]; then \
55 rev=`svn update|tail -n 1|sed 's/.*\ \(.*\)\./\1/g'|sed "s/'//g"`; \
57 if [ "$$rev" = "" ]; then rev="0"; fi; \
58 if [ "$$rev" != "$$prevrev" ]; then \
64 include Makefile.common