Re: wishlist item: namespaces for include

2007-12-13 Thread Paul Smith
On Wed, 2007-12-12 at 17:19 -0900, Britton Kerin wrote: > I would like to be able to tell make to automatically prefix all rules > and variables that come from an include'ed makefile with a namespace > prefix. So maybe this syntax: > > namespace foo_ include module_foo/Makefile > > The Makefile

wishlist item: namespaces for include

2007-12-12 Thread Britton Kerin
I would like to be able to tell make to automatically prefix all rules and variables that come from an include'ed makefile with a namespace prefix. So maybe this syntax: namespace foo_ include module_foo/Makefile The Makefile in foo might have targets build, test, and install, and a variable I