mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[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'.
This commit is contained in:
parent
61e2bdd49a
commit
3aee91269b
@ -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 $<
|
||||
|
Loading…
Reference in New Issue
Block a user