aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-08-12 22:12:41 +0200
committerMattias Andrée <maandree@kth.se>2018-08-12 22:19:35 +0200
commit43dae84fa5dc5050a99e0b15890bc2bb27c05170 (patch)
treeba286d7fa97e513168634f2223b53e9d7f902689 /config.mk
parentAdd memrmem, strrstr, and strrcasestr (diff)
downloadlibsimple-43dae84fa5dc5050a99e0b15890bc2bb27c05170.tar.gz
libsimple-43dae84fa5dc5050a99e0b15890bc2bb27c05170.tar.bz2
libsimple-43dae84fa5dc5050a99e0b15890bc2bb27c05170.tar.xz
Improve makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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..2751186
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,3 @@
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CFLAGS = -std=c99 -Wall -Wextra -O2 $(CPPFLAGS)
+LDFLAGS = -s