cleanup: remove cpu ctrl files, move tests
[gpsp.git] / gp2x / Makefile
index e91ac43..c17af14 100644 (file)
@@ -9,9 +9,8 @@ CC        = $(PREFIX)/bin/arm-open2x-linux-gcc
 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
+            cheats.o zip.o cpu_threaded.z cpuctrl_mmsp2.o                     \
+            arm_stub.o video_blend.o flush_cache.o
 BIN       = gpsp.gpe 
 
 # Platform specific definitions 
@@ -22,8 +21,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: