git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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*
Previous: Johannes Schindelin
Message 4 of 4 in “Support custom build options in config.mak”
  1. Support custom build options in config.makJohannes Schindelin, Oct 11, 2005
  2. Junio C HamanoOct 11, 2005
  3. Johannes SchindelinOct 11, 2005
  4. Daniel BarkalowOct 11, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.