aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-21 17:37:24 +0200
committerMattias Andrée <maandree@kth.se>2017-10-21 17:37:24 +0200
commitf71f61f797ff7c4df8c3d057231567c4b8f53d8a (patch)
treeca62154b68e9a124d618875d10d9e61abc509090 /config.mk
downloadsbus-f71f61f797ff7c4df8c3d057231567c4b8f53d8a.tar.gz
sbus-f71f61f797ff7c4df8c3d057231567c4b8f53d8a.tar.bz2
sbus-f71f61f797ff7c4df8c3d057231567c4b8f53d8a.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..44b4bfc
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,6 @@
+PREFIX = /usr/local
+MANPREFIX = $(PREFIX)/share/man
+
+CFLAGS = -std=c99 -Wall -Wextra -O2 -fPIC
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
+LDFLAGS = -s