diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-14 12:15:35 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-14 12:25:36 +0200 |
commit | 9e821d21b1a6462b6d6fad288599e76eaa273603 (patch) | |
tree | 8e2e024c43bffcbb78aceb0a9ebc01d7b831e92c /config.mk | |
parent | Do not use texman (diff) | |
download | sha3sum-9e821d21b1a6462b6d6fad288599e76eaa273603.tar.gz sha3sum-9e821d21b1a6462b6d6fad288599e76eaa273603.tar.bz2 sha3sum-9e821d21b1a6462b6d6fad288599e76eaa273603.tar.xz |
Simplify makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..e581aee --- /dev/null +++ b/config.mk @@ -0,0 +1,15 @@ +PREFIX = /usr/local +MANPREFIX = $(PREFIX)/share/man + +WARN = -pedantic -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 -Wswitch-default \ + -Wpadded -Wsync-nand -Wunsafe-loop-optimizations -Wcast-align -Wstrict-overflow \ + -Wdeclaration-after-statement -Wundef -Wbad-function-cast -Wcast-qual -Wlogical-op \ + -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 + +CFLAGS = -std=c99 -Wall -Wextra $(WARN) -O3 +CPPFLAGS = +LDFLAGS = -s -lkeccak -largparser |