summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2007-07-03 16:03:22 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2007-07-03 16:03:22 +0000
commit082cf21244f241c46e659b8b949a341e7caa0887 (patch)
tree9e5a89f5cb431877959433c6e0d903679daf2bd3 /Makefile
parent334346ee36d7cf07fb08e2b0fdef8e08a5e98a2e (diff)
downloadlm-sensors-082cf21244f241c46e659b8b949a341e7caa0887.tar.gz
Add some more warning flags, and fix these warnings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4545 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4a3cbf8..15ebaf06 100644
--- a/Makefile
+++ b/Makefile
@@ -140,7 +140,8 @@ endif
ifeq ($(WARN),1)
ALL_CFLAGS += -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
- -Wcast-align -Wwrite-strings -Wnested-externs -Winline
+ -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W \
+ -Wmissing-prototypes -Wundef
endif
ALL_CPPFLAGS += $(CPPFLAGS)