Subject: Re: make question
To: Todd Vierling <tv@pobox.com>
From: Frederick Bruckman <fb@enteract.com>
List: current-users
Date: 06/10/1999 13:24:24
On Thu, 10 Jun 1999, Todd Vierling wrote:

> On Thu, 10 Jun 1999, Jaromir Dolecek wrote:
> 
> : > Can anyone explain me the meaning of the following make conditional
> : > statement:
> : > 
> : > .if target(depend)
> : > 
> : > .endif
> : 
> : the code betwenn the if & endif is executed when the make has been
> : called as:
> : 	make depend
> 
> Actually, no.  That's .if make(depend).
> 
> .if target() is only evaluated if the target name has not yet been defined
> in the Makefile (or files it has .include'd).

Wouldn't that be .if !target() ?