diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2018-10-14 22:28:39 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2018-10-14 22:28:39 +0200 |
commit | 08cfb0efb187af58146a0dc432f49fab29da9c24 (patch) | |
tree | 8385296ea3caac49f4fc8e8859de7ec2113f57d4 | |
parent | 27495ded89fc5f872850feef7750b07ae3aaf987 (diff) | |
download | ccache-08cfb0efb187af58146a0dc432f49fab29da9c24.tar.gz |
Tweak silent make rule printouts
-rw-r--r-- | Makefile.in | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in index f30aa9ee..a565e64b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -100,7 +100,7 @@ files_to_distclean = Makefile config.h config.log config.status all: ccache$(EXEEXT) ccache$(EXEEXT): $(ccache_objs) $(extra_libs) - $(if $(quiet),@echo " [LD] $@") + $(if $(quiet),@echo " LD $@") $(Q)$(CC) $(all_cflags) -o $@ $(ccache_objs) $(LDFLAGS) $(extra_libs) $(LIBS) ccache.1: doc/ccache.1 @@ -123,9 +123,9 @@ $(zlib_objs): CPPFLAGS += -include config.h $(zlib_objs): CFLAGS += @no_implicit_fallthrough_warning@ src/zlib/libz.a: $(zlib_objs) - $(if $(quiet),@echo " [AR] $@") + $(if $(quiet),@echo " AR $@") $(Q)$(AR) cr $@ $(zlib_objs) - $(if $(quiet),@echo " [RANLIB] $@") + $(if $(quiet),@echo " RANLIB $@") $(Q)$(RANLIB) $@ .PHONY: perf @@ -134,21 +134,24 @@ perf: ccache$(EXEEXT) .PHONY: test test: ccache$(EXEEXT) unittest/run$(EXEEXT) - unittest/run$(EXEEXT) - CC='$(CC)' $(BASH) $(srcdir)/test/run + $(if $(quiet),@echo " TEST unittest/run$(EXEEXT)") + $(Q)unittest/run$(EXEEXT) + $(if $(quiet),@echo " TEST $(srcdir)/test/run") + $(Q)CC='$(CC)' $(BASH) $(srcdir)/test/run .PHONY: unittest unittest: unittest/run$(EXEEXT) - unittest/run$(EXEEXT) + $(if $(quiet),@echo " TEST $@") + $(Q)unittest/run$(EXEEXT) unittest/run$(EXEEXT): $(base_objs) $(test_objs) $(extra_libs) - $(if $(quiet),@echo " [LD] $@") + $(if $(quiet),@echo " LD $@") $(Q)$(CC) $(all_cflags) -o $@ $(base_objs) $(test_objs) $(LDFLAGS) $(extra_libs) $(LIBS) unittest/main.o: unittest/suites.h unittest/suites.h: $(test_suites) Makefile - $(if $(quiet),@echo " [GEN] $@") + $(if $(quiet),@echo " GEN $@") $(Q)ls $^ | grep -v Makefile | xargs sed -n 's/TEST_SUITE(\(.*\))/SUITE(\1)/p' >$@ .PHONY: check @@ -164,7 +167,7 @@ installcheck: ccache$(EXEEXT) unittest/run$(EXEEXT) CCACHE=$(bindir)/ccache CC='$(CC)' $(BASH) $(srcdir)/test/run .c.o: - $(if $(quiet),@echo " [CC] $@") + $(if $(quiet),@echo " CC $@") $(Q)$(CC) $(all_cppflags) $(all_cflags) -c -o $@ $< @include_dev_mk@ |