summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2004-05-16 19:16:52 +0000
committerPaul Smith <psmith@gnu.org>2004-05-16 19:16:52 +0000
commit0d72d89646eda38293759b957eecf18fde8676c6 (patch)
tree51954f0469a6d70c1b58fd30a5955aa5e4b65c86 /file.c
parentcdfbd2f371f2d9bfb17164d5d3ecaee4651f33a8 (diff)
downloadmake-0d72d89646eda38293759b957eecf18fde8676c6.tar.gz
Various enhancements
- OS/2 Patches - OpenVMS updates - Sanitize the handling of -include/sinclude with and without -k - Fix the setting of $< for order-only rules.
Diffstat (limited to 'file.c')
-rw-r--r--file.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/file.c b/file.c
index 0d577d15..8f895037 100644
--- a/file.c
+++ b/file.c
@@ -342,6 +342,10 @@ remove_intermediates (int sig)
if (! HASH_VACANT (*file_slot))
{
register struct file *f = *file_slot;
+ /* Is this file eligible for automatic deletion?
+ Yes, IFF: it's marked intermediate, it's not secondary, it wasn't
+ given on the command-line, and it's either a -include makefile or
+ it's not precious. */
if (f->intermediate && (f->dontcare || !f->precious)
&& !f->secondary && !f->cmd_target)
{
@@ -679,7 +683,7 @@ print_file (const void *item)
if (f->cmd_target)
puts (_("# Command-line target."));
if (f->dontcare)
- puts (_("# A default or MAKEFILES makefile."));
+ puts (_("# A default, MAKEFILES, or -include/sinclude makefile."));
puts (f->tried_implicit
? _("# Implicit rule search has been done.")
: _("# Implicit rule search has not been done."));