summaryrefslogtreecommitdiffhomepage
path: root/sofort/core/_infer
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-10 20:24:58 +0000
committermidipix <writeonce@midipix.org>2021-04-10 20:54:40 +0000
commit5a120303ac81bb569c66fcd1b9def32e36175f83 (patch)
tree571f4975f482cea5f4d9907b7c984e4d02b12fd7 /sofort/core/_infer
parentd4cbff970f898a98be460d13d9c9e442c8df5bc3 (diff)
downloaddalist-5a120303ac81bb569c66fcd1b9def32e36175f83.tar.bz2
dalist-5a120303ac81bb569c66fcd1b9def32e36175f83.tar.xz
build system: posix make support: handle out-of-tree builds in posix make mode.
Diffstat (limited to 'sofort/core/_infer')
-rw-r--r--sofort/core/_infer/infer_modern.mk3
-rw-r--r--sofort/core/_infer/infer_posix.mk8
2 files changed, 11 insertions, 0 deletions
diff --git a/sofort/core/_infer/infer_modern.mk b/sofort/core/_infer/infer_modern.mk
index e7db2a6..aaf3361 100644
--- a/sofort/core/_infer/infer_modern.mk
+++ b/sofort/core/_infer/infer_modern.mk
@@ -17,3 +17,6 @@ lib/%$(OS_ARCHIVE_EXT):
mkdir -p lib
rm -f $@
$(AR) rcs $@ $^
+
+srcs.tag:
+ touch $@
diff --git a/sofort/core/_infer/infer_posix.mk b/sofort/core/_infer/infer_posix.mk
index 3938325..ae990e8 100644
--- a/sofort/core/_infer/infer_posix.mk
+++ b/sofort/core/_infer/infer_posix.mk
@@ -17,3 +17,11 @@ $(STATIC_LIB):
mkdir -p lib
rm -f $@
$(AR) rcs $@ $(STATIC_OBJS)
+
+srcs.tag: tree.tag
+
+srcs.tag:
+ $(PROJECT_DIR)/sofort/tools/srctree.sh \
+ --srctree=$(SOURCE_DIR) -- \
+ $(COMMON_SRCS) $(APP_SRCS)
+ touch $@