Thread (6 messages) flat view 6 messages, 2 authors, 2016-06-15

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

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:51:48

Fredrik Kuivinen wrote:
On Sun, Aug 14, 2011 at 21:00, Jonathan Nieder [off-list ref] wrote:
quoted
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"?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help