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:

  <https://savannah.gnu.org/bugs/?63639>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to