diff options
author | Dave Chapman <dave@dchapman.com> | 2007-02-22 00:36:36 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-02-22 00:36:36 +0000 |
commit | a586376916217df49867825a0f0c291ac4f304c8 (patch) | |
tree | 701d7f370b7876defb9f65a2a4b2171aa3bf1ef5 | |
parent | d83cb9d055661f1e954bcfd778a55786f9ad5086 (diff) |
Enable warnings (-Wall, -Wundef).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12446 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | rbutil/Makefile | 5 |
1 files 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 $@ $< |