aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-01-09 18:00:15 +0100
committerMattias Andrée <maandree@kth.se>2017-01-09 18:00:15 +0100
commit930a61412bc584ff6784e573042009d4e3f45fb6 (patch)
tree2f0b4c78ee3feba2bf4b9d942c3dd0d6fd757128 /config.mk
parentFix errors and add makefile (diff)
downloadblind-930a61412bc584ff6784e573042009d4e3f45fb6.tar.gz
blind-930a61412bc584ff6784e573042009d4e3f45fb6.tar.bz2
blind-930a61412bc584ff6784e573042009d4e3f45fb6.tar.xz
Fix warnings and add config.mk
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..6561b50
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,3 @@
+CFLAGS = -std=c99 -Wall -pedantic -O2
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
+LDFLAGS = -lm -s