From a586376916217df49867825a0f0c291ac4f304c8 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 22 Feb 2007 00:36:36 +0000 Subject: [PATCH] Enable warnings (-Wall, -Wundef). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12446 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rbutil/Makefile b/rbutil/Makefile index 40091fd4a3..a33960a923 100644 --- a/rbutil/Makefile +++ b/rbutil/Makefile @@ -11,6 +11,7 @@ CXX=$(shell $(PREFIX)wx-config --cxx) INC = +CFLAGS = -Wall -Wundef OBJS=rbutil.o rbutilApp.o rbutilFrm.o wizard_pages.o bootloaders.o installlog.o ipodpatcher/ipodpatcher.o ipodpatcher/ipodio-posix.o irivertools.o md5sum.o # Install into /usr/local by default @@ -31,10 +32,10 @@ endif all: rbutil$(EXT) .cpp.o : - $(CXX) $(INC) -c `$(PREFIX)wx-config --cxxflags` -o $@ $< + $(CXX) $(CFLAGS) $(INC) -c `$(PREFIX)wx-config --cxxflags` -o $@ $< .c.o : - $(CC) $(INC) -c `$(PREFIX)wx-config --cxxflags` -o $@ $< + $(CC) $(CFLAGS) $(INC) -c `$(PREFIX)wx-config --cxxflags` -o $@ $< rbutil-rc.o: rbutil-rc.rc $(WINDRES) `$(PREFIX)wx-config --cxxflags` -O coff -F pe-i386 -o $@ $<