Update of bug #30105 (project make):

              Item Group:                     Bug => Enhancement            
           Triage Status:                    None => Small Effort           
                 Summary: Variables set immediately after .SUFFIXES: ; are
not set when leading tabs are used => Recipes defined for special targets like
.SUFFIXES are silently ignored: make should warn about them

    _______________________________________________________

Follow-up Comment #1:

This is not a bug.  .SUFFIXES is a target (it's a special target, but a
target nonetheless).

The makefile syntax is, and has always been, that any lines following a
target that begin with a TAB are considered recipe lines for that target, up
until the next line that does not begin with a TAB.  Intervening blank lines,
comment lines, etc. are not considered to "finish" a target recipe.

It's probably worthwhile to consider an enhancement that displays a warning
if recipes are defined for special targets where they have no meaning.  I'm
retargeting this as an enhancement request.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30105>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to