[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:45:57 +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 |
Follow-up Comment #3, bug #30105 (project make):
Make preprocessor lines like ifdef, etc. also do not count as stopping a
recipe, of course, otherwise code like:
all:
ifdef DEBUG
: do some debug thing
else
: do some non-debug thing
endif
would not work. I didn't mean my description below to be a complete
definition.
The make manual says (in the section "Command Syntax"):
Each command line must start with a tab, except that the first
command line may be attached to the target-and-prerequisites line with a
semicolon in between. _Any_ line in the makefile that begins with a
tab and appears in a "rule context" (that is, after a rule has been
started until another rule or variable definition) will be considered a
command line for that rule.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30105>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/