help-make
[Top][All Lists]
Advanced

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

Re: paths and included makefiles


From: Noel Yap
Subject: Re: paths and included makefiles
Date: Fri, 03 Sep 2004 18:34:40 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

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




reply via email to

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