aboutsummaryrefslogtreecommitdiff
path: root/Makefile.new
diff options
context:
space:
mode:
authorJonathan Gray2003-08-02 09:21:34 +0000
committerJonathan Gray2003-08-02 09:21:34 +0000
commit93482ae5c6d17dd8f3257be86b589bcd724ff887 (patch)
treeff1196c1a854f9f58aef2c2d31886baac06a3820 /Makefile.new
parent0b2bd31010826a32faa129c532b31d19dd167b38 (diff)
downloadscummvm-rg350-93482ae5c6d17dd8f3257be86b589bcd724ff887.tar.gz
scummvm-rg350-93482ae5c6d17dd8f3257be86b589bcd724ff887.tar.bz2
scummvm-rg350-93482ae5c6d17dd8f3257be86b589bcd724ff887.zip
automatically use gcc 3.x specific dependency rules if using gcc 3.x, enable some additional warnings in Makefile.new
svn-id: r9399
Diffstat (limited to 'Makefile.new')
-rw-r--r--Makefile.new6
1 files changed, 4 insertions, 2 deletions
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