diff options
author | Mattias Andrée <maandree@kth.se> | 2023-07-02 22:09:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-07-02 22:09:07 +0200 |
commit | 31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d (patch) | |
tree | 71cb3d8bb1e14c1f945061f3cfb9160861b65118 /config.mk | |
parent | Update link to libkeccak in DEPENDENCIES (diff) | |
download | sha3sum-8bc3a5a0144372d52f284183bd29f1efac23eee2.tar.gz sha3sum-8bc3a5a0144372d52f284183bd29f1efac23eee2.tar.bz2 sha3sum-8bc3a5a0144372d52f284183bd29f1efac23eee2.tar.xz |
Make makefile portable1.2.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -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 |