From f667c2483d1b437e886d578b6a186f7697e31216 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 10 Apr 2021 20:24:58 +0000 Subject: build system: posix make support: handle out-of-tree builds in posix make mode. --- sofort/core/_infer/infer_modern.mk | 3 +++ sofort/core/_infer/infer_posix.mk | 8 ++++++++ 2 files changed, 11 insertions(+) (limited to 'sofort/core') 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 $@ -- cgit v1.2.3