GNU Make 分组目标未分组

GNU Make grouped targets are not grouped

我正在尝试 GNU Make 分组目标并且似乎误解了一些东西,因为目标没有像我期望的那样分组。这是我的生成文件:

all: foo bar
.PHONY: foo bar
foo bar &:
        @echo grouped target run for \"target\" $@

并输出:

$ make
grouped target run for "target" foo
grouped target run for "target" bar

每个目标的配方是 运行,因此没有分组。我在这里错过了什么?

GNU Make 版本 4.2.1.

没关系,分组目标是 4.3 的功能。

来源(非官方发行说明):https://linuxreviews.org/GNU_make_4.3_Is_Released