aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-12-09 18:03:21 +0100
committerMattias Andrée <maandree@kth.se>2017-12-09 18:03:21 +0100
commit0aa122af455ab6f27f2917e2ab25a09ce79f25a9 (patch)
treefcadb51f46043a71d59fa7bccb4de5e16b33e464 /config.mk
parentm (diff)
downloadtimeprefix-0aa122af455ab6f27f2917e2ab25a09ce79f25a9.tar.gz
timeprefix-0aa122af455ab6f27f2917e2ab25a09ce79f25a9.tar.bz2
timeprefix-0aa122af455ab6f27f2917e2ab25a09ce79f25a9.tar.xz
Cleanup, improve makefile, and change license
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..6155069
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,6 @@
+PREFIX = /local/usr
+MANPREFIX = $(PREFIX)/share/man
+
+CFLAGS = -std=c99 -Wall -Wextra -O2
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+LDFLAGS = -s