%% Mike Gibson <[EMAIL PROTECTED]> writes: mg> The behavior you're getting is correct. When you list two mg> targets, it isn't just for convienience so you don't have to type mg> the rule twice. If a rule creates both targets for some reason, mg> you only want the rule to run once. This is for rules that create mg> multiple files.
Note the above is only true for _pattern rules_. Explicit rules work the opposite way: multiple targets means each target is built individually using the listed prerequisites and command script. Confusing, perhaps, but that's the way it is. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
