[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #24164] Improper Evaluation of Multiple Target rules with Static Pa

From: anonymous
Subject: [bug #24164] Improper Evaluation of Multiple Target rules with Static Patterns
Date: Sat, 30 Aug 2008 14:38:51 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080702 Firefox/

Follow-up Comment #1, bug #24164 (project make):

The line about "rules with multiple targets are the same as multiple rules"
doesn't apply to pattern rules.  See section 10.5.1 of the documentation,
which states:

Pattern rules may have more than one target. Unlike normal rules, this does
not act as many different rules with the same prerequisites and recipe. If a
pattern rule has multiple
targets, make knows that the rule’s recipe is responsible for making all of
the targets. The recipe is executed only once to make all the targets. When
searching for a pattern rule to
match a target, the target patterns of a rule other than the one that matches
the target in need of a rule are incidental: make worries only about giving a
recipe and prerequisites to
the file presently in question. However, when this file’s recipe is run,
the other targets are marked as having been updated themselves.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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