diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-09 15:56:16 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-09 15:56:16 +0000 |
commit | a736e0e5c2f287d9533b3856a1c7714ae50f349c (patch) | |
tree | 04df7d47dbab1b6da2ff5a195cecc94e0a94613e | |
parent | 67c10de7d2a9c20681441d01f91221d9c853b6f4 (diff) | |
download | ffmpeg-a736e0e5c2f287d9533b3856a1c7714ae50f349c.tar.gz |
Prettify make output when generating headers
Originally committed as revision 22401 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | common.mak | 3 | ||||
-rw-r--r-- | libavcodec/Makefile | 6 |
2 files changed, 5 insertions, 4 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 diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 6356c113b8..756b10abac 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -736,10 +736,10 @@ include $(SUBDIR)../subdir.mak $(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o $(SUBDIR)cos_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF) - ./$< > $@ + $(G)./$< > $@ $(SUBDIR)sin_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF) - ./$< sin > $@ + $(G)./$< sin > $@ ifdef CONFIG_MPEGAUDIO_HP $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=23 @@ -753,7 +753,7 @@ $(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS) $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF) - ./$< > $@ + $(G)./$< > $@ ifdef CONFIG_HARDCODED_TABLES $(SUBDIR)mdct.o: $(SUBDIR)mdct_tables.h |