Update of bug #47715 (project make): Status: None => Not A Bug Open/Closed: Open => Closed
_______________________________________________________ Follow-up Comment #1: This is the expected behavior. See http://www.gnu.org/software/make/manual/html_node/Pattern-Intro.html: 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. If you want to run the recipe once for each target, you have to declare one pattern rule per target. You can put the recipe into a variable if you want to reduce duplication. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47715> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make