summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-12-10 22:38:41 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-12-10 22:38:41 (GMT)
commit3aee91269b83b09a186d214c55873fbbfa15602d (patch)
tree9c3309ffb35e44e70155c4bd5acfa0e5b10a2017
parent61e2bdd49ac30b9cee2a7ffbe66673002c053f43 (diff)
downloadhdf5-3aee91269b83b09a186d214c55873fbbfa15602d.zip
hdf5-3aee91269b83b09a186d214c55873fbbfa15602d.tar.gz
hdf5-3aee91269b83b09a186d214c55873fbbfa15602d.tar.bz2
[svn-r138] ./config/conclude.in
Added ability to clean other files. The extra files to remove should be listed in a make variable with the same name as the target. For instance, $(MOSTLYCLEAN) is a list of files in addition to the normal files that should be removed when the user types `make mostlyclean'.
-rw-r--r--config/conclude.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/config/conclude.in b/config/conclude.in
index a5b2992..3daa001 100644
--- a/config/conclude.in
+++ b/config/conclude.in
@@ -53,14 +53,14 @@ uninstall:
# remove things like object files but not libraries or executables.
#
mostlyclean:
- $(RM) $(LIB_OBJ) $(PROG_OBJ)
+ $(RM) $(LIB_OBJ) $(PROG_OBJ) $(MOSTLYCLEAN)
# Like `mostlyclean' except it also removes the final targets: things like
# libraries and executables. This target doesn't remove any file that
# is part of the HDF5 distribution.
#
clean: mostlyclean
- $(RM) $(LIB) $(PROGS)
+ $(RM) $(LIB) $(PROGS) $(CLEAN)
# Like `clean' except it also removes files that were created by running
# configure. If you've unpacked the source and built HDF5 without creating
@@ -68,7 +68,7 @@ clean: mostlyclean
# in the distribution.
#
distclean: clean
- $(RM) .depend TAGS *~ core *.bak *.old *.new
+ $(RM) .depend TAGS *~ core *.bak *.old *.new $(DISTCLEAN)
@if test -f Makefile.in; then \
(set -x; $(RM) Makefile); \
fi
@@ -78,7 +78,6 @@ distclean: clean
#
maintainer-clean: distclean
-
# Implicit rules
.c.a:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<