[Top][All Lists]

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

Re: Common Dependences

From: Steven Woody
Subject: Re: Common Dependences
Date: Mon, 18 Jul 2005 12:12:37 +0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Stan Brown <> writes:

> On Mon, 18 Jul 2005 00:59:42 +0800, Steven Woody
> <> wrote:
>>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
> 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!


reply via email to

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