[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63639] Make syntax inconsistencies (perhaps old, no way to tell)

From: Paul D. Smith
Subject: [bug #63639] Make syntax inconsistencies (perhaps old, no way to tell)
Date: Sat, 14 Jan 2023 11:08:09 -0500 (EST)

Follow-up Comment #2, bug #63639 (project make):

Just to note:

# Issue with grouped targets
target&: prereqs
#is not the same as
target &: prereqs
#The former works, the latter (with a space) tries to find a prereq called &

The comment at the end of this is not correct.

In GNU Make 3.81, the first rule *target&: prereqs* will cause make to try to
build a target named, literally, *target&* (you can see this by adding a
recipe that shows the value of the *$@* automatic variable).

The second rule *target &: prereqs* will declare _two_ targets: one named
*target* and one named *&*.  It won't "try to create a prereq called &".


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]