From ade721a08f1db4a39ef3119de1c12a53aca99bb4 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Thu, 15 Dec 2011 15:17:40 +0000 Subject: [PATCH] stop warnings if a dependency file is missing --- Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 240d2e2..d6a6d14 100644 --- a/Makefile.in +++ b/Makefile.in @@ -49,7 +49,7 @@ test-programs: $(TEST_PROGRAMS) .SUFFIXES: .cc .o .d -%.d: %.cc +.cc.d: $(CXX) -MM -MT $(subst .cc,.o,$<) $(CXXFLAGS) $< > $@.$$$$; \ sed 's,\([^ :]*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ rm -f $@.$$$$ @@ -96,9 +96,9 @@ install: $(PROGRAMS) $(INSTALL_PROGRAM) -D thin_dump $(BINDIR)/thin_dump $(INSTALL_PROGRAM) -D thin_restore $(BINDIR)/thin_restore -include $(subst .cc,.d,$(SOURCE)) -include $(subst .cc,.d,$(TEST_SOURCE)) -include $(subst .cc,.d,$(PROGRAM_SOURCE)) +-include $(subst .cc,.d,$(SOURCE)) +-include $(subst .cc,.d,$(TEST_SOURCE)) +-include $(subst .cc,.d,$(PROGRAM_SOURCE)) ifeq ("$(TESTING)", "yes") include unit-tests/Makefile.in