diff --git a/Makefile.in b/Makefile.in index 55cdf10..7c0e849 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,6 +18,7 @@ .PHONY: all +V=@ PROGRAMS=\ cache_check \ cache_dump \ @@ -92,12 +93,14 @@ test-programs: $(TEST_PROGRAMS) .SUFFIXES: .d %.d: %.cc - $(CXX) -MM -MT $(subst .cc,.o,$<) $(INCLUDES) $(CXXFLAGS) $< > $@.$$$$;\ - sed 's,\([^ :]*\)\.o[ :]*,\1.o $@ : Makefile ,g' < $@.$$$$ > $@; \ - $(RM) $@.$$$$ + @echo " [dependencies] $<" + $(V) $(CXX) -MM -MT $(subst .cc,.o,$<) $(INCLUDES) $(CXXFLAGS) $< > $@.$$$$;\ + $(V) sed 's,\([^ :]*\)\.o[ :]*,\1.o $@ : Makefile ,g' < $@.$$$$ > $@; \ + $(V) $(RM) $@.$$$$ %.o: %.cc - $(CXX) -c $(INCLUDES) $(CXXFLAGS) -o $@ $< + @echo " [CXX] $<" + $(V) $(CXX) -c $(INCLUDES) $(CXXFLAGS) -o $@ $< #---------------------------------------------------------------- # Thin provisioning tools diff --git a/unit-tests/Makefile.in b/unit-tests/Makefile.in index e686eba..296ca81 100644 --- a/unit-tests/Makefile.in +++ b/unit-tests/Makefile.in @@ -103,11 +103,13 @@ MOCK_SOURCE=\ .SUFFIXES: .gmo %.gmo: %.cc - $(CXX) -c $(INCLUDES) $(GMOCK_INCLUDES) $(CXXFLAGS) -o $@ $< + @echo " [CXX] $<" + $(V) $(CXX) -c $(INCLUDES) $(GMOCK_INCLUDES) $(CXXFLAGS) -o $@ $< MOCK_OBJECTS=$(subst .cc,.gmo,$(MOCK_SOURCE)) unit-tests/gmock_tests: $(MOCK_OBJECTS) lib/libgmock.a - g++ $(CXXFLAGS) -o $@ $(MOCK_OBJECTS) $(LIBS) $(GMOCK_LIBS) + @echo " [LD] $<" + $(V) g++ $(CXXFLAGS) -o $@ $(MOCK_OBJECTS) $(LIBS) $(GMOCK_LIBS) all: $(TEST_PROGRAMS)