aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-19 23:13:14 +0100
committerMattias Andrée <maandree@kth.se>2022-02-19 23:13:14 +0100
commit57d1c6d3d5bf5f14b8b1755e78b5e0545cb11af7 (patch)
tree9ecd9eb9e925fd5634f225c44fc21e86abed4892 /config.mk
parentBump year in license (diff)
downloadliberror-57d1c6d3d5bf5f14b8b1755e78b5e0545cb11af7.tar.gz
liberror-57d1c6d3d5bf5f14b8b1755e78b5e0545cb11af7.tar.bz2
liberror-57d1c6d3d5bf5f14b8b1755e78b5e0545cb11af7.tar.xz
Improve makefile
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 fdfd458..30c7a1b 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+CC = cc -std=c11
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -std=c11 -Wall -pedantic
+CFLAGS = -Wall -pedantic
LDFLAGS = -s