From: Andreas Ă–man Date: Tue, 3 May 2011 18:32:17 +0000 (+0200) Subject: not so verbose compile output X-Git-Tag: 2.99~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4614f09d432bce46eea1d92b107a0c23efde56;p=thirdparty%2Ftvheadend.git not so verbose compile output --- diff --git a/Makefile b/Makefile index d4a104ca2..05761a71d 100644 --- a/Makefile +++ b/Makefile @@ -159,6 +159,15 @@ CFLAGS_com += -D_FILE_OFFSET_BITS=64 CFLAGS_com += -I${BUILDDIR} -I${CURDIR}/src -I${CURDIR} CFLAGS_com += -DHTS_VERSION=\"$(VERSION)\" +ifndef V +ECHO = printf "$(1)\t%s\n" $(2) +BRIEF = CC MKBUNDLE CXX +MSG = $@ +$(foreach VAR,$(BRIEF), \ + $(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR)))) +endif + + all: ${PROG} .PHONY: clean distclean @@ -186,7 +195,7 @@ ifneq ($(VERSION), $(CURVERSION)) .PHONY: src/version.c $(info Version changed) src/version.c: - echo $(VERSION) >${BUILDDIR}/ver + @echo $(VERSION) >${BUILDDIR}/ver endif