From 93482ae5c6d17dd8f3257be86b589bcd724ff887 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sat, 2 Aug 2003 09:21:34 +0000 Subject: automatically use gcc 3.x specific dependency rules if using gcc 3.x, enable some additional warnings in Makefile.new svn-id: r9399 --- Makefile.new | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile.new') diff --git a/Makefile.new b/Makefile.new index 6e01833ab1..6a43bd2d41 100644 --- a/Makefile.new +++ b/Makefile.new @@ -30,6 +30,10 @@ include config.mak # CXXFLAGS+= -Wshadow -Werror CXXFLAGS:= -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas $(CXXFLAGS) +# Even more warnings... +CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion +CXXFLAGS+= -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor +CXXFLAGS+= -Wno-reorder -Wwrite-strings -fcheck-new -Wctor-dtor-privacy ####################################################################### # Misc stuff - you should normally never have to edit this # @@ -46,8 +50,6 @@ deb: debian/prepare fakeroot debian/rules binary -config.mak: - ./configure # Special target to create a application wrapper for Mac OS X bundle_name = ScummVM.app -- cgit v1.2.3