aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:33:26 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:33:26 +0200
commitb1be4de9c4bf7fdfa40f6afdd6864818c0a93859 (patch)
tree132e675588894f1072e456f21d1757bddae34435 /config.mk
parentBump year (diff)
downloadorphan-reaper-b1be4de9c4bf7fdfa40f6afdd6864818c0a93859.tar.gz
orphan-reaper-b1be4de9c4bf7fdfa40f6afdd6864818c0a93859.tar.bz2
orphan-reaper-b1be4de9c4bf7fdfa40f6afdd6864818c0a93859.tar.xz
Improve makefile + m whitespace fix2.3.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/config.mk b/config.mk
index 016beb1..bad3f79 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,9 @@
-PREFIX = /usr/local
-MANPREFIX = $(PREFIX)/share/man
+PREFIX = /usr
+MANPREFIX = $(PREFIX)/share/man
+LIBEXECDIR = $(PREFIX)/libexec/orphan-reaper
-LIBEXECDIR = $(PREFIX)/lib/orphan-reaper
+CC = cc
-CFLAGS = -std=c99 -Wall -Wextra -O2
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -s