aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-16 20:18:31 +0200
committerMattias Andrée <maandree@kth.se>2017-10-16 20:18:31 +0200
commitab46bf8016b253c9900cc3b3742e60c32ff4085d (patch)
treee04813af400f22f81de4ba7c5a178496f5828622 /config.mk
parentupdate dist (diff)
downloadmongoclock-ab46bf8016b253c9900cc3b3742e60c32ff4085d.tar.gz
mongoclock-ab46bf8016b253c9900cc3b3742e60c32ff4085d.tar.bz2
mongoclock-ab46bf8016b253c9900cc3b3742e60c32ff4085d.tar.xz
Update license, change style, simplify makefile, and do not use gpp2.3
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..9e148ca
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,6 @@
+PREFIX = /usr/local
+MANPREFIX = $(PREFIX)/share/man
+
+CFLAGS = -std=c99 -Wall -Wextra -O2
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+LDFLAGS = -s