Added a `distclean' target to remove files which are produced by the UNIX

configure script (in case no config.mk has been created due to errors).
This commit is contained in:
Werner Lemberg 2000-08-01 08:43:44 +00:00
parent 80a330afe8
commit a9f2ddd3dc
1 changed files with 10 additions and 0 deletions

View File

@ -82,6 +82,16 @@ ifdef check_platform
setup: make_module_list
endif
# This rule makes sense for Unix only to remove files created by a run
# of the configure script which hasn't been successful (so that no
# `config.mk' has been created). It uses the built-in $(RM) command of
# GNU make.
#
distclean:
$(RM) builds/unix/config.cache
$(RM) builds/unix/config.log
$(RM) builds/unix/config.status
# IMPORTANT:
#
# `setup' must be defined by the host platform detection rules to create