aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-07-02 22:09:07 +0200
committerMattias Andrée <maandree@kth.se>2023-07-02 22:09:07 +0200
commit31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d (patch)
tree71cb3d8bb1e14c1f945061f3cfb9160861b65118 /config.mk
parentUpdate link to libkeccak in DEPENDENCIES (diff)
downloadsha3sum-31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d.tar.gz
sha3sum-31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d.tar.bz2
sha3sum-31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d.tar.xz
Make makefile portable1.2.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk15
1 files changed, 4 insertions, 11 deletions
diff --git a/config.mk b/config.mk
index abcfadf..7f52810 100644
--- a/config.mk
+++ b/config.mk
@@ -1,16 +1,9 @@
-PREFIX = /usr/local
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
LIBEXEC = libexec
-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
+CC = c99
-CFLAGS = -std=c99 -Wall -Wextra $(WARN) -O3
CPPFLAGS =
-LDFLAGS = -s -lkeccak
+CFLAGS = -Wall -O3
+LDFLAGS = -lkeccak