aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 17:44:55 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 17:44:55 +0200
commit89b36c68813eea189886e73590452c4ca5a70f6c (patch)
tree3dcd5f875e1be42c0d2aae13ab40f6381bd6ce34 /config.mk
parentfix man page (diff)
downloadfile2key-3.1.1.tar.gz
file2key-3.1.1.tar.bz2
file2key-3.1.1.tar.xz
Improve makefile3.1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 93a9878..c8ba750 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,10 @@
-PREFIX = /usr
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CFLAGS = -std=c99 -Wall -Wextra -O2
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CFLAGS = -std=c99 -O2
LDFLAGS = -s -lkeccak
# To use libpassphrase, add -DWITH_LIBPASSPHRASE to CPPFLAGS and -lpassphrase to LDFLAGS