[PATCH 1/3] makefiles: Allow make-time silent build output
Alexandre Julliard
julliard at winehq.org
Wed Sep 18 16:03:32 CDT 2019
Jeff Smith <whydoubt at gmail.com> writes:
> @@ -3773,6 +3773,20 @@ static void output_sources( struct makefile *make )
>
> strarray_add( &make->phony_targets, "all" );
>
> + output("ifeq ($(V),0)\n");
> + output(" QUIET = @\n");
> + output(" QUIET_AR = @echo ' ' AR $@;\n");
> + output(" QUIET_BISON = @echo ' ' BISON $@;\n");
> + output(" QUIET_BUILD = @echo ' ' BUILD $@;\n");
> + output(" QUIET_CC = @echo ' ' CC $@;\n");
> + output(" QUIET_CCLD = @echo ' ' CCLD $@;\n");
> + output(" QUIET_GEN = @echo ' ' GEN $@;\n");
> + output(" QUIET_FLEX = @echo ' ' FLEX $@;\n");
> + output(" QUIET_LN = @echo ' ' LN $@;\n");
> + output(" QUIET_RANLIB = @echo ' ' RANLIB $@;\n");
> + output(" QUIET_TEST = @echo ' ' TEST $@;\n");
> + output("endif\n\n");
We don't use if() in makefiles, for portability reasons.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list