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

Still, I believe this new syntax should really be listed in *.FEATURES*

That way, makefiles which want to employ this (highly valued!) new feature,
can be written in a way that older versions of make can still run them.

The documentation should also reflect that, perhaps with an example like:


ifeq ($(filter grouped-targets,$(.FEATURES)),grouped-targets)
# use new syntax:
output1 output2 &: prereq
        produce -from prereq output1 output2
else
# use multi-target rule, and disable parallelism globally
.NOTPARALLEL:
endif




    _______________________________________________________

Reply to this item at:

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

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


Reply via email to