help-make
[Top][All Lists]
Advanced

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

Re: simple pattern rules


From: Payal
Subject: Re: simple pattern rules
Date: Tue, 6 Apr 2010 05:20:40 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Apr 06, 2010 at 12:58:41PM +0200, Noel David Torres Taño wrote:
> Well, it says what is happening: there are no targets. The % rule does not 
> apply to "all cdb files" but instead it says "how to create a cdb file if 
> needed".
> 
> You are saying how to "build" things, but you are not saying what to "build".

hmm ... I am not getting this properly. I will explain my problem.

I have many files like a.tcp, b.tcp ... To compile each one I have
individual rules like,

a.cdb : a.tcp
        tcprules $@ a.tcp.tmp < $^
b.cdb : b.tcp
        tcprules $@ b.tcp.tmp < $^
......

My question is how to write one general rule, so that if any of .tcp
file change, the respective cdb file should be rebuild.


With warm regards,
-Payal
-- 






reply via email to

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