[Top][All Lists]

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

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

From: Corey Brenner
Subject: Problem with GNU Make (3.81, probably newer) with stacking --include-dir=...
Date: Tue, 10 Jun 2014 16:01:57 -0700 (PDT)


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 invocations to lower ones.  The construction of include paths, via --include-dir, should be per-invocation,
and not shared with children, except by providing --include-dir=... on the recursive command line. 

The attached small makefile illustrates and documents the problem.

Is there a way to suppress this behavior?

Thank you,


Attachment: Makefile
Description: Binary data

reply via email to

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