On Thu, 3 Apr 2025, Martin Storsjö wrote:
On Thu, 3 Apr 2025, Jacek Caban wrote:
On 2.04.2025 21:47, Martin Storsjö wrote:
If configuring mingw-w64-crt with the autoconf/automake config
option --enable-silent-rules, the default automake rules will
print e.g. " CC misc/lib64_libmsvcrt_extra_a-wctype.o"
when compiling such a file. However, any custom makefile rules
will still be printed as usual.
Respect the --enable-silent-rules flag on our custom rules;
by adding $(AM_V_GEN) on rules, it will print e.g.
" GEN lib64/msvcrt.def" instead of the command, if
configured with that flag, or if building with "make V=0".
By adding $(AM_V_at) on rules, that command won't be printed
at all, when building with silent rules.
By enabling silent rules, the output is much less verbose, and
it is easier to spot e.g. compiler warnings.
See [1] for more details on automake silent rules.
[1]
https://www.gnu.org/software/automake/manual/html_node/Automake-Silent-Rules.html
Signed-off-by: Martin Storsjö <mar...@martin.st>
---
mingw-w64-crt/Makefile.am | 360 +++++++++++++++++++-------------------
1 file changed, 180 insertions(+), 180 deletions(-)
The additional makefile complexity is a bit unfortunate, but given that
there’s demand for it, that’s fine with me. I’m not an autotools expert,
but these changes look good to me.
FWIW, I usually just use make -s instead.
Yes, that's certainly an option too - but then you get less feedback about
what's being built, how fast things are progressing etc.
I pushed these changes now, thanks!
// Martin
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public