aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/config.mk b/config.mk
index 58fd233..797e615 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,11 @@
# See LICENSE file for copyright and license details.
-SRCDIR = src
-ARDIR = bin/archive
-SHDIR = bin/shared
-SRC != find ${SRCDIR} -name '*.c'
-AROBJ = ${SRC:${SRCDIR}/%.c=${ARDIR}/%.o}
-SHOBJ = ${SRC:${SRCDIR}/%.c=${SHDIR}/%.o}
+# Directories
+SRCDIR = src
+ARDIR = bin/archive
+SHDIR = bin/shared
+
+# Sources and object files. We need two kind of object files, the first ones are for archive
+SRC != find ${SRCDIR} -name '*.c'
+AROBJ = ${SRC:${SRCDIR}/%.c=${ARDIR}/%.o}
+SHOBJ = ${SRC:${SRCDIR}/%.c=${SHDIR}/%.o}