aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-23 16:24:54 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-23 16:24:54 +0100
commit9a9029f57afe383904d93e593e3b4163a0abb37a (patch)
tree253bc3ad8cd0c94e25a5e3e57fba45e46ae6a4c5
parent41c641067186eed13f363248246ffa1d3aec9914 (diff)
downloadstring2-9a9029f57afe383904d93e593e3b4163a0abb37a.tar.gz
string2-9a9029f57afe383904d93e593e3b4163a0abb37a.zip
Add comments in Makefile
-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}