aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-09 15:56:16 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-09 15:56:16 +0000
commita736e0e5c2f287d9533b3856a1c7714ae50f349c (patch)
tree04df7d47dbab1b6da2ff5a195cecc94e0a94613e /common.mak
parent67c10de7d2a9c20681441d01f91221d9c853b6f4 (diff)
downloadffmpeg-a736e0e5c2f287d9533b3856a1c7714ae50f349c.tar.gz
Prettify make output when generating headers
Originally committed as revision 22401 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mak b/common.mak
index 4028022808..fae6b1bca7 100644
--- a/common.mak
+++ b/common.mak
@@ -24,6 +24,7 @@ ECHO = printf "$(1)\t%s\n" $(2)
BRIEF = CC AS YASM AR LD HOSTCC RANLIB STRIP CP
SILENT = DEPCC YASMDEP RM
MSG = $@
+G = @$(call ECHO,GEN,$@);
$(foreach VAR,$(BRIEF), \
$(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
$(foreach VAR,$(SILENT),$(eval $(VAR) = @$($(VAR))))
@@ -57,7 +58,7 @@ $(BUILD_ROOT_REL)/version.h: $(SVN_ENTRIES)
endif
$(BUILD_ROOT_REL)/version.h: $(SRC_PATH_BARE)/version.sh config.mak
- $< $(SRC_PATH) $@ $(EXTRA_VERSION)
+ $(G)$< $(SRC_PATH) $@ $(EXTRA_VERSION)
install: install-libs install-headers
install-libs: install-libs-yes