aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5dc0ed8..e002e7e 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,18 @@ LICENSEDIR = $(DATADIR)/licenses
PKGNAME = rq
COMMAND = rq
-OPTIMISE = -O2
-WARN = -Wall -Wextra -pedantic
+#OPTIMISE = -O2
+#WARN = -Wall -Wextra -pedantic
+OPTIMISE = -Og -g
+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 -Wsign-conversion \
+ -Wswitch-default -Wconversion -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 -pedantic
FLAGS = -std=c99 $(WARN) $(OPTIMISE)