cache (on framebuffer mem) flush fix from 2007 (gpsp09-2xb_2)
[gpsp.git] / gp2x / Makefile
index e91ac43..2552ce5 100644 (file)
@@ -11,7 +11,7 @@ STRIP     = $(PREFIX)/bin/arm-open2x-linux-strip
 OBJS      = main.o cpu.o memory.u video.o input.o sound.o gp2x.o gui.o        \
             cheats.o zip.o cpu_threaded.z cpu_speed.o cpuctrl.o               \
             gp2xminilib.o font.o display.o speedtest.o cmdline.o daemon.o     \
-            arm_stub.o video_blend.o
+            arm_stub.o video_blend.o flush_cache.o
 BIN       = gpsp.gpe 
 
 # Platform specific definitions 
@@ -22,8 +22,8 @@ CFLAGS     += -DARM_ARCH -DGP2X_BUILD
 CFLAGS     += -O3 -std=c99 -msoft-float -funsigned-char -fno-common           \
               -fno-builtin                                                    \
 
-INCLUDES   = `$(PREFIX)/bin/arm-open2x-linux-sdl-config --cflags` 
-LIBS       = `$(PREFIX)/bin/arm-open2x-linux-sdl-config --libs`               \
+INCLUDES   = `$(PREFIX)/bin/sdl-config --cflags` -I$(PREFIX)/include
+LIBS       = `$(PREFIX)/bin/sdl-config --libs`               \
               -lm -ldl -lpthread -lz -static
 
 # Compilation: