summaryrefslogtreecommitdiff
path: root/gp2x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gp2x/Makefile')
-rw-r--r--gp2x/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gp2x/Makefile b/gp2x/Makefile
index e91ac43..2d57ebb 100644
--- a/gp2x/Makefile
+++ b/gp2x/Makefile
@@ -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: