help-make
[Top][All Lists]
Advanced

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

Re: simple pattern rules


From: Noel David Torres Taño
Subject: Re: simple pattern rules
Date: Tue, 6 Apr 2010 12:58:41 +0200
User-agent: KMail/1.9.9

On Tuesday 06 April 2010 08:50:55 Payal wrote:
> Hi,
> I am trying a simple example.
>  
> $ cat Makefile 
> %.cdb : %.tcp 
>         @echo $@
> $ make
> make: *** No targets.  Stop.
> $
> 
> 
> What is wrong? I expected it to print all target names.
> 
> With warm regards,
> -Payal


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".

Noel
er Envite

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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