Re: [PATCH] Support custom build options in config.mak
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Oct 11, 2005, 17:18 UTC
- Message-ID
- <Pine.LNX.4.63.0510111308520.23242@iabervon.org>
- In-Reply-To
- <Pine.LNX.4.63.0510110948170.19774@wbgn013.biozentrum.uni-wuerzburg.de>
On Tue, 11 Oct 2005, Johannes Schindelin wrote:
> +ifneq (,$(wildcard config.mak)) > +include config.mak > +endif > +
You can just do:
-include config.mak
for the same effect; it includes the file if it exists, and doesn't complain if it doesn't exist. (It also means that make has a clearer idea of what it's doing, which doesn't matter in this case, but is good in general.)
-Daniel *This .sig left intentionally blank*