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/


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

Reply via email to