From 6f5d2e89abd4480da0fd1b844a316edb6db88dde Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 6 Jul 2001 14:27:37 -0500 Subject: [svn-r4136] Purpose: Bug Fix Description: We long ago changed the compiler flags to pick out dependencies to -MM instead of -M so that only #include "filename.h" type headers will be put into the .depend file. Solution: Changed this flag. Platforms tested: Linux --- c++/config/depend1.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c++/config/depend1.in b/c++/config/depend1.in index fcd7f90..f00bfd4 100644 --- a/c++/config/depend1.in +++ b/c++/config/depend1.in @@ -40,7 +40,7 @@ $(srcdir)/Dependencies: .depend obj=`basename $$dep .cpp`.lo; \ sed '\%^'"$$obj"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \ $(TRACE) $$dep; \ - $(CC) -M -MG $(CPPFLAGS) $$dep 2>/dev/null | \ + $(CC) -MM -MG $(CPPFLAGS) $$dep 2>/dev/null | \ sed 's% $(srcdir)/% $$(srcdir)/%g' | \ sed 's% $(top_srcdir)/% $$(top_srcdir)/%g' | \ sed 's% $(top_builddir)/% $$(top_builddir)/%g' | \ -- cgit v0.12