From 9a9029f57afe383904d93e593e3b4163a0abb37a Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 23 Feb 2023 16:24:54 +0100 Subject: Add comments in Makefile --- config.mk | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'config.mk') 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} -- cgit v1.2.3