On Fri, Oct 02, 2009 at 09:13:44AM -0400, Paul Smith wrote:
> On Fri, 2009-10-02 at 14:00 +0100, Ian Lynagh wrote:
> > 
> > but I don't want to have to have an explicit rule for every directory;
> 
> Why don't you just use "mkdir -p"?
> 
>       default: a/b/c/
> 
>       a/b/c/ : ; mkdir -p $@

Actually, I can't get this to work either:

# ----------------
q : foo/bar/
        echo bye

%/ :
        echo hi
# ----------------

$ make           
make: *** No rule to make target `foo/bar', needed by `q'.  Stop.


Thanks
Ian



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

Reply via email to