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: Wed, 7 Apr 2010 00:47:57 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Apr 06, 2010 at 10:04:41PM -0700, Payal wrote:
> What is wrong? a.cdb is now a prerequiste of the first target.

After some thought, now I have working makefile like this,

%.cdb : %.tcp
        cat $^ | tcprules $@ address@hidden

all : a.cdb b.cdb

a.cdb : 
b.cdb :

2 questions on this,
1. Why does this not work?
all : $(wildcard *.cdb)

2. How can I avoid listing explicitly?
a.cdb : 
b.cdb :


With warm regards,
-Payal
-- 





reply via email to

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