aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-02 18:32:32 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-02 18:32:32 +0100
commit8ad70c4ee78c26625dd40973bc9cdb57050e7034 (patch)
treebae1dd6cedd2d5f7211166836e8b8e087206b24a /Makefile
parentsimplify by loading and preparsing in separate function + add reverse video for duplicated words + wait on the last word before exiting + m (diff)
downloadread-quickly-8ad70c4ee78c26625dd40973bc9cdb57050e7034.tar.gz
read-quickly-8ad70c4ee78c26625dd40973bc9cdb57050e7034.tar.bz2
read-quickly-8ad70c4ee78c26625dd40973bc9cdb57050e7034.tar.xz
portable compiler flags1.0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index e002e7e..5dc0ed8 100644
--- a/Makefile
+++ b/Makefile
@@ -17,18 +17,8 @@ LICENSEDIR = $(DATADIR)/licenses
PKGNAME = rq
COMMAND = rq
-#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
+OPTIMISE = -O2
+WARN = -Wall -Wextra -pedantic
FLAGS = -std=c99 $(WARN) $(OPTIMISE)