help-make
[Top][All Lists]
Advanced

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

Re: Using the target of a pattern rule as a prerequisite


From: Boris Kolpackov
Subject: Re: Using the target of a pattern rule as a prerequisite
Date: Thu, 3 Jun 2004 23:00:31 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

Bram <address@hidden> writes:

> %.cc: $(dir %.cc)
>     echo "Pre:" $^
> 
> Doesn't work as I'd expect.
> 
> 
> Any way to make this work?

As Paul said this won't work with the mainline GNU make. However,
there is a patch that adds this feature to the GNU make:

http://kolpackov.net/projects/make/bk/

hth,
-boris





reply via email to

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