help-make
[Top][All Lists]
Advanced

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

.INCLUDE_DIRS question


From: Martin d'Anjou
Subject: .INCLUDE_DIRS question
Date: Thu, 4 May 2006 14:39:53 -0400 (EDT)

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

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

.INCLUDE_DIRS: m
include m.mk

all:
        echo $(VAR)

Is this the way it should be used? How should I set the search path for the make included files?

Thanks,
Martin




reply via email to

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