aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:32:09 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:32:09 +0200
commit45b62beddc014daf0ad5da0320155598b641a7ea (patch)
tree90f41c2999fd5e68de378c4be27eb00bbd8c81cd /config.mk
parentExit when user presses q (diff)
downloadmongotimer-45b62beddc014daf0ad5da0320155598b641a7ea.tar.gz
mongotimer-45b62beddc014daf0ad5da0320155598b641a7ea.tar.bz2
mongotimer-45b62beddc014daf0ad5da0320155598b641a7ea.tar.xz
Improve makefile + m whitespace fix1.1.4
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index a2b8a0f..f262b1e 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
-PREFIX = /usr/local
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CFLAGS = -std=c99 -Wall -Wextra -O2
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
+CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -s