> From: "Jannick" <thirdedit...@gmx.net>
> Date: Fri, 6 May 2016 14:25:27 +0200
> 
> '.INCLUDE_DIRS += C:\mypath' does not make GNUmake to look for included
> makefiles (using 'include') in C:\mypath.
> 
> I checked that
> 
> *       C:\mypath is added to .INCLUDE_DIRS (with 'make -p')
> 
> *       GNUmake does not look for the includes (with 'make -d')    

AFAIK, .INCLUDE_DIRS is a read-only variable: modifying its value
doesn't affect Make.  The value is created at startup, and no
assignment to it can change the results of that.

> As a current workaround I am using 'make -IC:\mypath' which does the
> job.

AFAIK, that's the only way of changing the default Make include path.

(This is not Windows specific in any way, AFAIK.)

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to