aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-24 07:28:22 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-24 07:28:22 +0200
commit6e0e60f37afc5cf96b2cecf50fefb642b2ac9488 (patch)
tree9b4869a8ce82ffd3a413f83b83296282f7dbca75 /Makefile
parentm make (diff)
downloadadjbacklight-6e0e60f37afc5cf96b2cecf50fefb642b2ac9488.tar.gz
adjbacklight-6e0e60f37afc5cf96b2cecf50fefb642b2ac9488.tar.bz2
adjbacklight-6e0e60f37afc5cf96b2cecf50fefb642b2ac9488.tar.xz
enable more warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a638854..e3f8f18 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,17 @@ LICENSEDIR = $(DATADIR)/licenses
MANUAL = adjbacklight
MANUALDIR = info/
-WARN = -Wall -Wextra
+WARN = -Wall -Wextra -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \
+ -Wtrampolines -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations \
+ -Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros -Wsync-nand \
+ -Wunsafe-loop-optimizations -Wcast-align -Wstrict-overflow -Wdeclaration-after-statement \
+ -Wundef -Wbad-function-cast -Wcast-qual -Wwrite-strings -Wlogical-op -Waggregate-return \
+ -Wstrict-prototypes -Wold-style-definition -Wpacked -Wvector-operation-performance \
+ -Wunsuffixed-float-constants -Wsuggest-attribute=const -Wsuggest-attribute=noreturn \
+ -Wsuggest-attribute=pure -Wsuggest-attribute=format -Wnormalized=nfkc -Wconversion \
+ -fstrict-aliasing -fstrict-overflow -fipa-pure-const -ftree-vrp -fstack-usage \
+ -funsafe-loop-optimizations
+# excluded: -pedantic
# compile the package
@@ -89,5 +99,5 @@ uninstall:
# remove files created by `all`
.PHONY: clean
clean:
- -rm -r *.{class,t2d,aux,cp,cps,fn,ky,log,pg,pgs,toc,tp,vr,vrs,op,ops,bak,info,pdf,ps,dvi,gz,install}
+ -rm -r *.{class,t2d,aux,cp,cps,fn,ky,log,pg,pgs,toc,tp,vr,vrs,op,ops,bak,info,pdf,ps,dvi,gz,install} bin