From 29b827735bbe843cc99c33d9acaf0fd453e3a9e7 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Sat, 19 Jun 2010 02:35:57 +0200 Subject: [PATCH] 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. --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 9271201..9855666 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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