[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 <the_stan_brown@fastmail.fm> writes:
> On Mon, 18 Jul 2005 00:59:42 +0800, Steven Woody
> <anti-spam.narkewoody@gmail.com.dont-post-to> 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