aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:21:24 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:21:24 +0200
commit90e8e3f9bdead5e075b50cd210a55202e7b40057 (patch)
tree50d3c0c35a069e966468d9a476d766d8054b2cd1 /config.mk
parentUpdate readme (diff)
downloadlibsha2-90e8e3f9bdead5e075b50cd210a55202e7b40057.tar.gz
libsha2-90e8e3f9bdead5e075b50cd210a55202e7b40057.tar.bz2
libsha2-90e8e3f9bdead5e075b50cd210a55202e7b40057.tar.xz
Improve makefile1.0.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index cd79dd2..a2d88f2 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -std=c99 -Wall -Wextra -O3 $(CPPFLAGS)
+CFLAGS = -std=c99 -Wall -O3
LDFLAGS = -s