help-make
[Top][All Lists]
Advanced

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

Re: simple pattern rules


From: Paul Smith
Subject: Re: simple pattern rules
Date: Tue, 06 Apr 2010 11:05:21 -0400

On Tue, 2010-04-06 at 13:00 +0000, Greg Chicares wrote:
> # What to build (if outdated).
> .PHONY: all
> all: a.tcp b.tcp

You want to have "all: a.cdb b.cdb" here, not the above.

> # How to build it (if necessary).
> %.cdb : %.tcp
>         tcprules $@ $*.tcp.tmp < $^

Cheers!

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist





reply via email to

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