help-make
[Top][All Lists]
Advanced

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

Re: How to change certain rules such that they will not executed as long


From: Harvey Chapman
Subject: Re: How to change certain rules such that they will not executed as long as the target is available?
Date: Fri, 11 Jun 2010 23:28:21 -0400

On Jun 11, 2010, at 2:54 PM, couling wrote:

> 
> I Think what you're looking for is 
> http://www.gnu.org/software/make/manual/make.html#index-order_002donly-prerequisites-155
> order-only-prerequisites .  These act just like normal prerequisites except
> that they will ignore the date.
> 
> To use them just put a pipe (|) after the normal prerequisites (there don't
> have to be any) and everything that follows will be treated as an
> order-only-prerequisite.
> 
> item : prereq | order-only-prereq
>       command

Wow, that description is worlds better than the manual.




reply via email to

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