chiark / gitweb /
syntax: Support &: literal (for make `grouped' multiple targets)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 26 Jan 2020 12:37:14 +0000 (12:37 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 26 Jan 2020 12:37:14 +0000 (12:37 +0000)
commit8a588ad0cc1d3e2944bb29fb3ce19ac2d0dbdcc4
tree771aeef0bc0d45ec11c004ab8e0267d8d0cdd74c
parentc9e91b84d5248ae2583a361952583156bca2d80b
syntax: Support &: literal (for make `grouped' multiple targets)

Very recent versions of GNU make support this syntax:

  foo bar biz &: baz boz
        echo $^ > foo
        echo $^ > bar
        echo $^ > biz

(See (make)Multiple Targets, subheading `Rules with Grouped Targets')

This use of & is nonoverlapping with everything we care about, so we
can just pass it straight through.  Passing through &: means we pass
through &:: too.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README
generate