On Fri, Sep 03, 2004 at 06:34:40PM -0400, Noel Yap wrote:
> Ross Boylan wrote:
> 
> >On Fri, Sep 03, 2004 at 06:11:27PM -0400, Noel Yap wrote:
> >
> >>My current implementation is way too complicated.  The gist is something 
> >>like:
> >>
> >>include-makefile = $(foreach \
> >> m, \
> >> $(1), \
> >> $(eval $(call _include-makefile,include,$(m),$(__FILE__))))
> >>
> >>define _include-makefile
> >> __FILE__ := $(2)
> >> $(1) $(2)
> >
> >
> >Doesn't that need to be
> >   export __FILE__ := $(2)
> >?
> 
> Why would it?
> 
> Noel
You're right; it's unnecessary.  I got confused between including
snippets and invoking Makefiles recursively.


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

Reply via email to