[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: 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:

ifdef DEBUG
        : do some debug thing
        : do some non-debug thing

would not work.  I didn't mean my description below to be a complete

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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]