summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorDafydd Harries <dafydd.harries@collabora.co.uk>2007-02-10 13:29:00 +0000
committerDafydd Harries <dafydd.harries@collabora.co.uk>2007-02-10 13:29:00 +0000
commit5e2b888e36167259959ab59401ecc4b35eb5f527 (patch)
treec3f249c77bf253bab63df713a0ae4292d1de001d /common.mk
parente2752da3391aecb9a1b615ff42d1db5638af344a (diff)
downloadlibnice-5e2b888e36167259959ab59401ecc4b35eb5f527.tar.gz
define ERROR_CFLAGS with -W* in common.mk
darcs-hash:20070210132929-c9803-92624737ec43cff874b758d687b1821005882b04.gz
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 5ed5d91..1b5a96b 100644
--- a/common.mk
+++ b/common.mk
@@ -1,4 +1,13 @@
+ERROR_CFLAGS = \
+ -Wall \
+ -Werror \
+ -Wextra \
+ -Wno-missing-field-initializers \
+ -Wwrite-strings \
+ -Wmissing-prototypes \
+ -Wredundant-decls
+
check-valgrind:
$(MAKE) TESTS_ENVIRONMENT="sh $(abspath $(top_srcdir))/scripts/valgrind.sh" check