Skip to content

Commit bc5ced8

Browse files
committed
chore: make files additions for build script
1 parent 01f7ec2 commit bc5ced8

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

Data/testsuite/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
#
66

77
.PHONY: projects
8-
clean distclean all: projects
8+
# Forward any goal verbatim to the child Makefiles. Catches the mode targets
9+
# (shared_release, shared_debug, ...) that come from build/rules/exec and are
10+
# only defined in leaf Makefiles - this wrapper does not include those rules
11+
# and must not duplicate their names. The pattern rule's empty recipe (`@:`)
12+
# is a no-op; the real work happens in `projects`, which forwards
13+
# $(MAKECMDGOALS) to the children that DO understand the goal.
14+
%: projects ; @:
915
projects:
1016
$(MAKE) -f Makefile-testrunner $(MAKECMDGOALS)
1117
$(MAKE) -C ../DataTest $(MAKECMDGOALS)

Foundation/testsuite/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
#
66

77
.PHONY: projects
8-
clean distclean all: projects
8+
# Forward any goal verbatim to the child Makefiles. Catches the mode targets
9+
# (shared_release, shared_debug, ...) that come from build/rules/exec and are
10+
# only defined in leaf Makefiles - this wrapper does not include those rules
11+
# and must not duplicate their names. The pattern rule's empty recipe (`@:`)
12+
# is a no-op; the real work happens in `projects`, which forwards
13+
# $(MAKECMDGOALS) to the children that DO understand the goal.
14+
%: projects ; @:
915
projects:
1016
$(MAKE) -f Makefile-Driver $(MAKECMDGOALS)
1117
ifneq ($(LINKMODE),STATIC)

0 commit comments

Comments
 (0)