summaryrefslogtreecommitdiffstats
path: root/c++/config
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-07-06 19:26:03 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-07-06 19:26:03 (GMT)
commit87bf7b5bf15446ed449361700127cbc07d57f064 (patch)
tree690dc29380d1c771abe18ad91910bd0cf0b1f082 /c++/config
parent749b37bc74c99458ded92a7dcb4fb31f3ce3c271 (diff)
downloadhdf5-87bf7b5bf15446ed449361700127cbc07d57f064.zip
hdf5-87bf7b5bf15446ed449361700127cbc07d57f064.tar.gz
hdf5-87bf7b5bf15446ed449361700127cbc07d57f064.tar.bz2
[svn-r4135]
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.in2
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' | \