%% "Martin d'Anjou" <[EMAIL PROTECTED]> writes:

md> I am try to come up with a working example of .INCLUDE_DIRS (new in make
 md> 3.81), but I don't get it. Here is a snippet:

 md> .INCLUDE_DIRS: m

.INCLUDE_DIRS is a variable, not a target.

Ok, I try this:

$(shell mkdir -p m && echo VAR=Hello > m/m.mk)
.INCLUDE_DIRS=m
include m.mk
all:
        echo $(VAR)

% make
Makefile:4: m.mk: No such file or directory
make: *** No rule to make target `m.mk'.  Stop.

Martin


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

Reply via email to