aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-03 11:45:51 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-03 11:45:51 +0100
commit953e43cb563b0fd35a63383d50728de02969c862 (patch)
treebdecb8dc0dbf25b060c5e0e6cf1b4ee2133a8aac
parentadd examples (diff)
downloadlibrarian-953e43cb563b0fd35a63383d50728de02969c862.tar.gz
librarian-953e43cb563b0fd35a63383d50728de02969c862.tar.bz2
librarian-953e43cb563b0fd35a63383d50728de02969c862.tar.xz
compiler-agnostic flags
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index adb5c04..2a83fb1 100644
--- a/Makefile
+++ b/Makefile
@@ -21,18 +21,8 @@ COMMAND = librarian
LIBRARIAN_PATH = /usr/local/share/librarian:/usr/share/librarian
-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
+OPTIMISE = -O2
+WARN = -Wall -Wextra -pedantic
FLAGS = -std=c99 $(WARN) $(OPTIMISE) -D'DEFAULT_PATH="$(LIBRARIAN_PATH)"'