[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Equivalent to VPATH for searching for Makefiles?
From: |
Sam Ravnborg |
Subject: |
Re: Equivalent to VPATH for searching for Makefiles? |
Date: |
Thu, 4 Dec 2008 20:55:13 +0100 |
User-agent: |
Mutt/1.4.2.1i |
On Wed, Dec 03, 2008 at 06:20:29PM -0800, Garrett Cooper wrote:
> Hi guys,
> I realize that using --include can do this, but is there a way to
> tell make how to do this for Makefiles as well from within other
> Makefiles (VPATH doesn't work ;P)? It would be a really cool
> enhancement to have, if it doesn't already exist, as it would make
> ginormous make projects simpler by setting a default `search path' for
> Makefiles that get included.
I have with success used:
MAKEFLAGS += --include-dir=foo
This works only for the submake you spawn from the Makefile
that contains the assignment.
Sam
- Equivalent to VPATH for searching for Makefiles?, Garrett Cooper, 2008/12/03
- Re: Equivalent to VPATH for searching for Makefiles?, Garrett Cooper, 2008/12/03
- Re: Equivalent to VPATH for searching for Makefiles?,
Sam Ravnborg <=
- Re: Equivalent to VPATH for searching for Makefiles?, Garrett Cooper, 2008/12/04
- Re: Equivalent to VPATH for searching for Makefiles?, Garrett Cooper, 2008/12/04
- Re: Equivalent to VPATH for searching for Makefiles?, Philip Guenther, 2008/12/04
- Re: Equivalent to VPATH for searching for Makefiles?, Mike Shal, 2008/12/04
- Re: Equivalent to VPATH for searching for Makefiles?, Garrett Cooper, 2008/12/04
- Re: Equivalent to VPATH for searching for Makefiles?, Garrett Cooper, 2008/12/04