On Thu, Apr 8, 2010 at 8:43 PM, Montaseri <[email protected]> wrote:
> include ../../../env.mk In a nutshell, the way i work around that is to put something like this at the top of my Makefiles: include thisdir.make thisdir.make gets generated by the configure script (or some shell script, or whatever), and contains shared vars like: top_srcdir := relative path to top srcdir from $PWD That type of thing can be done with only a little bit of scripting. i've got some rather involved examples if you'd like to dig around in them. Contact me off-list if you like (email addy is at the link below) and i'll see what i can extract for you. -- ----- stephan beal http://wanderinghorse.net/home/stephan/
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
