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>
&:<directive> <args>....
recognised at start of line only (possibly after lwsp)
+&: => &:
+ for make multiple targets syntax
+ recognised anywhere *except* start of line
+
&:include filename filename should usually be [&]foo.sd.mk
&:-include filename tolerate nonexistent file
RHS is &-expanded but filenames are relative to the top
next;
}
if (s{^\\$esc}{}) { od "$$esclitr" }
+ elsif (s{^:}{}) { od "$$esclitr:" }
elsif (s{^\\\$}{}) { oud '$' }
elsif (s{^\\\s+$}{}) { }
elsif (s{^$esc}{}) { od "$$esclitr$$esclitr" }