[MPlayer-dev-eng] [PATCH] add FFmpeg-style "quiet" compilation

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jun 6 17:52:45 CEST 2010


Hello,
just a few lines stupidly copy-and-pasted.
Didn't seem to help much for FFmpeg, but maybe it does make people
notice warnings a bit more...
Index: Makefile
===================================================================
--- Makefile    (revision 31338)
+++ Makefile    (working copy)
@@ -21,6 +21,20 @@
 
 include config.mak
 
+# from common.mak
+ifndef V
+Q      = @
+ECHO   = printf "$(1)\t%s\n" $(2)
+BRIEF  = CC AS YASM AR LD HOSTCC STRIP CP
+SILENT = DEPCC YASMDEP RM RANLIB
+MSG    = $@
+M      = @$(call ECHO,$(TAG),$@);
+$(foreach VAR,$(BRIEF), \
+    $(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
+$(foreach VAR,$(SILENT),$(eval $(VAR) = @$($(VAR))))
+$(eval INSTALL = @$(call ECHO,INSTALL,$$(^:$(SRC_DIR)/%=%)); $(INSTALL))
+endif
+
 .SUFFIXES:
 
 ###### variable declarations #######




More information about the MPlayer-dev-eng mailing list