Skip to content

Commit

Permalink
not so verbose compile output
Browse files Browse the repository at this point in the history
  • Loading branch information
andoma committed May 3, 2011
1 parent 206d129 commit cd4614f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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


Expand Down

0 comments on commit cd4614f

Please sign in to comment.