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

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to