aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-19 23:15:33 +0100
committerMattias Andrée <maandree@kth.se>2022-02-19 23:15:33 +0100
commit2d78ce8dce3d7b06e55806d5f34d0bad60cc774b (patch)
tree966d68dc06a635a3d2b536bc19b6d28b55c7f61b /config.mk
parentAdd liberror-backtrace (diff)
downloadliberror-backtrace-2d78ce8dce3d7b06e55806d5f34d0bad60cc774b.tar.gz
liberror-backtrace-2d78ce8dce3d7b06e55806d5f34d0bad60cc774b.tar.bz2
liberror-backtrace-2d78ce8dce3d7b06e55806d5f34d0bad60cc774b.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 df0ba5d..48a3555 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 -lunwind -ldw -lerror