]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
not so verbose compile output
authorAndreas Öman <andreas@lonelycoder.com>
Tue, 3 May 2011 18:32:17 +0000 (20:32 +0200)
committerAndreas Öman <andreas@lonelycoder.com>
Tue, 3 May 2011 18:32:17 +0000 (20:32 +0200)
Makefile

index d4a104ca2ff1a7e0c2d30229057fcc082034936c..05761a71de8db35883b62c2110d7d783205dcaa7 100644 (file)
--- 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