help-make
[Top][All Lists]
Advanced

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

Re: forcing a rule


From: Boris Kolpackov
Subject: Re: forcing a rule
Date: Fri, 2 Apr 2004 11:30:32 -0600
User-agent: Mutt/1.5.4i

Hi Noel,

> >%/.:
> >     @echo mkdir -p $(@)
> >
> >to be
> >
> >%/.: | $$(dir\ %).
> >     @echo mkdir $(@)
> >
> >Now '%/.' depends on it's subdirectory. In your case it 
> >would expand to 
> >
> >install/common/make/.: | install/common/.
> 
> Wouldn't this produce an infinite loop?

Why would it? Every time $$(dir\ %). chops off one 
directory so at some point it will end up being just 
/. which hopefully exist. 

>  Have you tried this change with the patch installed?

Yes I did. It prints what you wanted.


hth,
-boris

Attachment: signature.asc
Description: Digital signature


reply via email to

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