aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 16:13:12 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 16:13:12 +0200
commite9f603063cdd2d3c7c7f0801078e22158e6bad1d (patch)
treef718093534c648d37e30a1220313deb2ca45291b /config.mk
parentFix a buf and a portability issue found by Jonathan Frech (diff)
downloadasroot-e9f603063cdd2d3c7c7f0801078e22158e6bad1d.tar.gz
asroot-e9f603063cdd2d3c7c7f0801078e22158e6bad1d.tar.bz2
asroot-e9f603063cdd2d3c7c7f0801078e22158e6bad1d.tar.xz
Improve makefile1.1.5
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 90c3672..dafaf0a 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,10 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
-CFLAGS = -std=c99 -Wall -O2 $(CPPFLAGS)
+CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -s -lcrypt