Stan Brown <[EMAIL PROTECTED]> writes: > On Mon, 18 Jul 2005 00:59:42 +0800, Steven Woody > <[EMAIL PROTECTED]> wrote: > >>hi, >> >>if i have many targets which all depend on some common files, which is a easy >>way to write the rule? i don't like ugly code as below, >> >>T1: a b c >>T2: a b c >>... >>Tn: a b c >> >>thanks! > > Do you have a rule somewhere to build each one, or are they covered > by an implicit rule? If either is true, then you can simply list > additional dependency: > > T1 T2 T3 ... Tn : a b c > >
Paul and Stan's solution is exactly what i look for. thank you! - narke _______________________________________________ help-gnu-utils mailing list help-gnu-utils@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-utils