diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-07-06 19:27:37 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-07-06 19:27:37 (GMT) |
commit | 6f5d2e89abd4480da0fd1b844a316edb6db88dde (patch) | |
tree | d4861bf228fee922b79015381b3f7f4039c7e152 /c++/config | |
parent | cb5be31175157a9844b74c140cd061ac01990b38 (diff) | |
download | hdf5-6f5d2e89abd4480da0fd1b844a316edb6db88dde.zip hdf5-6f5d2e89abd4480da0fd1b844a316edb6db88dde.tar.gz hdf5-6f5d2e89abd4480da0fd1b844a316edb6db88dde.tar.bz2 |
[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
Diffstat (limited to 'c++/config')
-rw-r--r-- | c++/config/depend1.in | 2 |
1 files changed, 1 insertions, 1 deletions
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' | \ |