summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-09 19:05:42 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-09 19:05:42 +0200
commitbcadfc5420ef1bbbe995e0ad92bc1325c03dd709 (patch)
treecc481eeee958db45df9911347995c0c11a32279e /config.mk
parent618a6e6e3dad6d879cb6b8ba4b291d48610f1d14 (diff)
Add config.mk & PREFIX/DESTDIR support
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..cc71072
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,7 @@
+CFLAGS ?= -Wall -Wextra -pedantic -O2
+PREFIX ?= /usr/local
+
+main_dir = ${DESTDIR}${PREFIX}
+
+man_dir = ${main_dir}/share/man
+bin_dir = ${main_dir}/bin