On 2009-04-20T19:50:34, Randy Kao wrote:
> I was trying to implement a variable assignment to all files below the
> current directory where my Makefile resides currently.

Here is what I do:

rootdir = $(word 1,$(patsubst %/,%,$(dir $(MAKEFILE_LIST))))


/Allan
-- 
Allan Wind
Life Integrity, LLC
http://lifeintegrity.com



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

Reply via email to