aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:50:44 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:50:44 +0200
commit2d54f1473d8c1c9bd7063ad23488b31ea74dd424 (patch)
treebcc21e2bcaff5ef394d9a53e5e1681bfe8775b22 /config.mk
parentFix makefile (diff)
downloadvtchs-2d54f1473d8c1c9bd7063ad23488b31ea74dd424.tar.gz
vtchs-2d54f1473d8c1c9bd7063ad23488b31ea74dd424.tar.bz2
vtchs-2d54f1473d8c1c9bd7063ad23488b31ea74dd424.tar.xz
Improve makefile1.1.2
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 9e148ca..aa81003 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
-PREFIX = /usr/local
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CFLAGS = -std=c99 -Wall -Wextra -O2
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -s