aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 16:07:07 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 16:07:07 +0200
commit3b4046adeb0d56edd21144b693044a23ea798680 (patch)
treee513288cf14c386536125c84e4591af72473bb7b /config.mk
parentm makefile (diff)
downloadalarm-3b4046adeb0d56edd21144b693044a23ea798680.tar.gz
alarm-3b4046adeb0d56edd21144b693044a23ea798680.tar.bz2
alarm-3b4046adeb0d56edd21144b693044a23ea798680.tar.xz
Improve makefile1.2.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 5f26cd2..aa81003 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
-PREFIX = /usr/local
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CCFLAGS = -std=c99 -Wall -Wextra -O2
-CPPFLAGS =
+CC = cc
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -s