On Fri, Oct 02, 2009 at 09:13:44AM -0400, Paul Smith wrote:
> 
> Why don't you just use "mkdir -p"?
> 
>       default: a/b/c/
> 
>       a/b/c/ : ; mkdir -p $@

I'll have to look into how portable "mkdir -p" is, and whether bad
things can happen if "mkdir -p a/b/c" and "mkdir -p a/b/x" are run in
parallel with "make -j".

> To answer your question, there's no way to do that without using a
> complicated expression combining $(foreach ...) and $(eval ...) and
> probably a few other functions such as patsubst to turn / into space
> etc.

I feared as much. Thanks for the reply.


Thanks
Ian



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to