summaryrefslogtreecommitdiff
path: root/sofort/core/_infer/infer_posix.mk
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:49 +0000
commitecb04a83a6245ac8b3d59c9009285bf1d0809bec (patch)
tree68a53c7ed8d66d4ead58fd71298d4b7be25008b8 /sofort/core/_infer/infer_posix.mk
parent482bef3a788161bf7473535ef9fbbe2198a1e9cd (diff)
downloadperk-ecb04a83a6245ac8b3d59c9009285bf1d0809bec.tar.bz2
perk-ecb04a83a6245ac8b3d59c9009285bf1d0809bec.tar.xz
build system: posix make support: handle out-of-tree builds in posix make mode.
Diffstat (limited to 'sofort/core/_infer/infer_posix.mk')
-rw-r--r--sofort/core/_infer/infer_posix.mk8
1 files changed, 8 insertions, 0 deletions
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 $@