diff options
author | midipix <writeonce@midipix.org> | 2021-04-10 20:24:58 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:53 +0000 |
commit | 35982ca6266b03f8c9b2d4e5df6abd2edce3506f (patch) | |
tree | 6dc828ce63b3d82cd6fee1fce4244d3fa8aa8944 /sofort/core | |
parent | 0244764573009aba12d669c9b3fd3af422c63960 (diff) | |
download | sbpython2-35982ca6266b03f8c9b2d4e5df6abd2edce3506f.tar.bz2 sbpython2-35982ca6266b03f8c9b2d4e5df6abd2edce3506f.tar.xz |
build system: posix make support: handle out-of-tree builds in posix make mode.
Diffstat (limited to 'sofort/core')
-rw-r--r-- | sofort/core/_infer/infer_modern.mk | 3 | ||||
-rw-r--r-- | sofort/core/_infer/infer_posix.mk | 8 |
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 $@ |