aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
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