help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .INCLUDE_DIRS question


From: Martin d'Anjou
Subject: Re: .INCLUDE_DIRS question
Date: Thu, 4 May 2006 16:49:21 -0400 (EDT)

%% "Martin d'Anjou" <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]