Enabled code specific for embedded devices and enable more warnings.

It's confusing that the macro for enabling the embedded features is named TARGET_GP2X, but that's something to fix later.
This commit is contained in:
Maarten ter Huurne
2010-06-19 02:38:14 +02:00
parent 988439605d
commit 29b827735b
+2 -1
View File
@@ -25,7 +25,8 @@ noinst_HEADERS = asfont.h button.h cpu.h dirdialog.h FastDelegate.h \
AM_CFLAGS= @CFLAGS@ @SDL_CFLAGS@
AM_CXXFLAGS = @CXXFLAGS@ @SDL_CFLAGS@ -Isparsehash-1.6/src
AM_CXXFLAGS = @CXXFLAGS@ @SDL_CFLAGS@ -Isparsehash-1.6/src -DTARGET_GP2X \
-Wall -Wextra -Wundef -Wunused-macros
gmenu2x_LDADD = @LIBS@ @SDL_LIBS@ -lfreetype -lSDL_image -lSDL_ttf -lSDL_gfx -lSDL -ljpeg -lpng12 -lz -ldl -lpthread