Problem with GNU Make (3.81, probably newer) with stacking --include-dir=...

2014-06-11 Thread Corey Brenner
Hi, I've run into a situation where I want to control the include dirs in a recursive make.  I am adding include paths to recursive invocations via --include-dir=, when I find one which matches my criteria. However, GNU Make seems to be holding on to these directories from high level

Re: Problem with GNU Make (3.81, probably newer) with stacking --include-dir=...

2014-06-11 Thread Paul Smith
On Tue, 2014-06-10 at 16:01 -0700, Corey Brenner wrote: I've run into a situation where I want to control the include dirs in a recursive make. I am adding include paths to recursive invocations via --include-dir=, when I find one which matches my criteria. However, GNU Make seems to be

Re: Problem with GNU Make (3.81, probably newer) with stacking --include-dir=...

2014-06-11 Thread Paul Smith
On Wed, 2014-06-11 at 13:45 -0400, Paul Smith wrote: Unfortunately in older versions of make the option and argument are left as two separate words: $ echo 'a:;: $(MAKEFLAGS)' | make-3.81 -f- -I/usr/include -I/bin : I /usr/include -I /bin which makes it much more difficult to remove