aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 12:58:37 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 12:58:37 +0100
commitcf92368317b4bbceaff1935105ce8790e7e1b610 (patch)
tree1b8170471bdad79405c6dde8dad02a54b9d89c7c /config.mk
parentUpdate e-mail (diff)
downloadsleep-until-cf92368317b4bbceaff1935105ce8790e7e1b610.tar.gz
sleep-until-cf92368317b4bbceaff1935105ce8790e7e1b610.tar.bz2
sleep-until-cf92368317b4bbceaff1935105ce8790e7e1b610.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--config.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index eb4100f..ea62250 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,15 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CC = cc
+CC = c99
CPPFLAGS = -D_POSIX_C_SOURCE=199309L
-CFLAGS = -std=c99 -Wall -O2
+CFLAGS =
LDFLAGS = -s
+
+CLOCK_HEADER_FILE != \
+ if test -r /usr/include/bits/time.h; then \
+ printf '%s\n' /usr/include/bits/time.h; \
+ else \
+ printf '%s\n' /usr/include/linux/time.h; \
+ fi