[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #30105] Recipes defined for special targets like .SUFFIXES are sile
From: |
Paul D. Smith |
Subject: |
[bug #30105] Recipes defined for special targets like .SUFFIXES are silently ignored: make should warn about them |
Date: |
Sat, 12 Jun 2010 00:10:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3 |
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/