aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-01-31 14:04:54 +0100
committerMattias Andrée <maandree@kth.se>2021-01-31 14:05:23 +0100
commit2a189d522c0c22c77a8a95ab16f3bf46cdab8926 (patch)
treec3330eb02ced21c3da8d4d83df9515d204693cd4 /config.mk
downloadasroot-2a189d522c0c22c77a8a95ab16f3bf46cdab8926.tar.gz
asroot-2a189d522c0c22c77a8a95ab16f3bf46cdab8926.tar.bz2
asroot-2a189d522c0c22c77a8a95ab16f3bf46cdab8926.tar.xz
First commit
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..1f3b2b5
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,6 @@
+PREFIX = /usr
+MANPREFIX = $(PREFIX)/share/man
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
+CFLAGS = -std=c99 -Wall -O2 $(CPPFLAGS)
+LDFLAGS = -s