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

Re: [PATCH resend] Makefile: Use computed header dependencies if the compiler supports it

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Aug 14, 2011, 20:02 UTC
Message-ID
<20110814200255.GC16819@elie.gateway.2wire.net>
In-Reply-To
<CALx8hKRBjXr44gM1JA+d=RU80pmruPV56s-G3JvViz87eJ=ajQ@mail.gmail.com>
Fredrik Kuivinen wrote:
> On Sun, Aug 14, 2011 at 21:00, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 5 quoted lines
>> I wonder if we can make do with a faster check, like
>>
>>        $(CC) -c -MF /dev/null -MMD -MP git.c --help >/dev/null 2>&1
>>
>> What do you think?
[...]
> Without patch (with COMPUTE_HEADER_DEPENDENCIES=Yes):

The case to compare against is when COMPUTE_HEADER_DEPENDENCIES is not set, I'd think, since that is the status quo. And I was talking about commands like "make clean" that do not care about that feature, not "make all".

[...]
> With patch, but changed to use git.c instead of ++empty.c:
Did you try with "--help"?
Previous: Fredrik KuivinenNext: Fredrik Kuivinen
Message 4 of 6 in “Makefile: Use computed header dependencies if the compiler supports it”
  1. Makefile: Use computed header dependencies if the compiler supports itFredrik Kuivinen, Aug 14, 2011
  2. Jonathan NiederAug 14, 2011
  3. Fredrik KuivinenAug 14, 2011
  4. Jonathan NiederAug 14, 2011
  5. Fredrik KuivinenAug 18, 2011
  6. Jonathan NiederAug 18, 2011

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.