aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-07 12:34:44 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-07 12:34:44 +0100
commit479b2ee8e0cc52c3e76c7c09d0dfa5d902e50ec5 (patch)
tree5ff7555d0d031a6885f257708a0e2d3d84455162 /config.mk
parent7d5553e60f29b0d2c5d1981e836fe57708071eeb (diff)
downloadstring2-479b2ee8e0cc52c3e76c7c09d0dfa5d902e50ec5.tar.gz
string2-479b2ee8e0cc52c3e76c7c09d0dfa5d902e50ec5.zip
Rewrite build system
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..58fd233
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,8 @@
+# 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}