aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..0cc3f5b
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,19 @@
+# See LICENSE for copyright information
+
+# Paths
+PREFIX = /usr/local
+BINDIR = ${PREFIX}/bin
+SHAREDIR = ${PREFIX}/share
+DOCDIR = ${SHAREDIR}/doc
+KISSDOC = ${DOCDIR}/kiss
+MANPREFIX = ${SHAREDIR}/man
+MAN1 = ${MANPREFIX}/man1
+
+# Flags
+CFLAGS = -std=c99 -Wpedantic -Wall -Os
+LDFLAGS = -s -static
+LIBS = -lc
+
+# C compiler and linker
+CC = cc
+LD = ${CC}