aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:19:28 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:19:28 +0200
commitb1eb5bc857540086baf2c8c8b0ed5131c3ca04dc (patch)
treea5b97cbc9520f69bc1ec75732d3d47dcf768b446 /config.mk
parentm (diff)
downloadlibsha1-b1eb5bc857540086baf2c8c8b0ed5131c3ca04dc.tar.gz
libsha1-b1eb5bc857540086baf2c8c8b0ed5131c3ca04dc.tar.bz2
libsha1-b1eb5bc857540086baf2c8c8b0ed5131c3ca04dc.tar.xz
Improve makefile1.0.1
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