diff options
-rw-r--r-- | config.mk | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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} |