summaryrefslogtreecommitdiff
path: root/filedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'filedef.h')
-rw-r--r--filedef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/filedef.h b/filedef.h
index c96c2e3..425bb04 100644
--- a/filedef.h
+++ b/filedef.h
@@ -92,12 +92,18 @@ struct file
unsigned int ignore_vpath:1;/* Nonzero if we threw out VPATH name. */
unsigned int pat_searched:1;/* Nonzero if we already searched for
pattern-specific variables. */
+ unsigned int considered:1; /* equal to `considered' if file has been
+ considered on current scan of goal chain */
};
/* Number of intermediate files entered. */
extern unsigned int num_intermediates;
+/* Current value for pruning the scan of the goal chain (toggle 0/1). */
+
+extern unsigned int considered;
+
extern struct file *default_goal_file, *suffix_file, *default_file;