summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-08-31 23:12:15 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-08-31 23:12:15 (GMT)
commit2733f697b65bb475cede997cdc4d288118e5c828 (patch)
treea161b3a56b72eabad443917cb5402b38bb1e3130 /c++/examples
parent926b953316fad230bd68e8dc01c805f6a148474e (diff)
downloadhdf5-2733f697b65bb475cede997cdc4d288118e5c828.zip
hdf5-2733f697b65bb475cede997cdc4d288118e5c828.tar.gz
hdf5-2733f697b65bb475cede997cdc4d288118e5c828.tar.bz2
[svn-r11330] Purpose:
Bug fix Description: Errors on sol may have been due to "make clean" being run both manually and by automake. Removed the manual run. Also cleaned c++/examples/ii_files directory created by some compilers (e.g., on modi4). Solution: This does mean that examples directories will not be cleaned by 'make clean'. Platforms tested: sol, mir, heping, modi4
Diffstat (limited to 'c++/examples')
-rw-r--r--c++/examples/Makefile.am7
-rw-r--r--c++/examples/Makefile.in7
2 files changed, 14 insertions, 0 deletions
diff --git a/c++/examples/Makefile.am b/c++/examples/Makefile.am
index 995964b..d729521 100644
--- a/c++/examples/Makefile.am
+++ b/c++/examples/Makefile.am
@@ -61,6 +61,13 @@ install-data-local:
uninstall-local:
@$(MAKE) uninstall-examples
+# Some C++ compilers/linkers will create a directory named ii_files,
+# which should be cleaned.
+mostlyclean-local:
+ if test -d ii_files; then \
+ $(RM) -rf ii_files; \
+ fi
+
# Install source files, which are the examples with .cpp suffixes. Do the same
# for uninstall.
install-examples: $(EXAMPLEDIR)
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in
index 56092e6..f146c56 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -507,6 +507,13 @@ install-data-local:
uninstall-local:
@$(MAKE) uninstall-examples
+# Some C++ compilers/linkers will create a directory named ii_files,
+# which should be cleaned.
+mostlyclean-local:
+ if test -d ii_files; then \
+ $(RM) -rf ii_files; \
+ fi
+
# Install source files, which are the examples with .cpp suffixes. Do the same
# for uninstall.
install-examples: $(EXAMPLEDIR)