> Paul D. Smith [mailto:[EMAIL PROTECTED] said:
> %% 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.
> 

Ah, that's what was confusing me. I'll use the method suggested by Mike,

and try to RTFM more diligently in future. Many thanks for your help.

/Hannes


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to