aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:25:31 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:25:31 +0200
commit3ef4603788b3e4cef56bc113903548e71ade06a9 (patch)
tree7ffe7547c29dec58de4f8e08638858190c6b815d /config.mk
parentUpdate config.mk (diff)
downloadloc-3ef4603788b3e4cef56bc113903548e71ade06a9.tar.gz
loc-3ef4603788b3e4cef56bc113903548e71ade06a9.tar.bz2
loc-3ef4603788b3e4cef56bc113903548e71ade06a9.tar.xz
Improve makefile and fix warnings4.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index a61c851..aa81003 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
-PREFIX = /usr
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -std=c99 -Wall -O2 $(CPPFLAGS)
+CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -s