aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:48:09 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:48:09 +0200
commit84e03db449725f9481cf77f2a594d7dbcf9a7188 (patch)
tree1fa0a563e4a331f86b657e04ba0df6e7334b76fe /config.mk
parentUpdate doc (diff)
downloadtimeprefix-84e03db449725f9481cf77f2a594d7dbcf9a7188.tar.gz
timeprefix-84e03db449725f9481cf77f2a594d7dbcf9a7188.tar.bz2
timeprefix-84e03db449725f9481cf77f2a594d7dbcf9a7188.tar.xz
Improve makefile3.0.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 6155069..aa81003 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
-PREFIX = /local/usr
+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