summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-06-20 05:48:40 +0000
committerPaul Smith <psmith@gnu.org>2000-06-20 05:48:40 +0000
commit3e6f48b444d890fd9bde802e35387e27eba33b2d (patch)
tree2ed67a1f9b0885c19c5a2521183696f9d5fb7f64 /remake.c
parent0d70d054586cf2e718aacd5fccfc47e32975b092 (diff)
downloadgunmake-3e6f48b444d890fd9bde802e35387e27eba33b2d.tar.gz
* More updates and fixes.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/remake.c b/remake.c
index d7d7102..1ea0df2 100644
--- a/remake.c
+++ b/remake.c
@@ -58,6 +58,9 @@ extern int try_implicit_rule PARAMS ((struct file *file, unsigned int depth));
/* Incremented when a command is started (under -n, when one would be). */
unsigned int commands_started = 0;
+/* Current value for pruning the scan of the goal chain (toggle 0/1). */
+static unsigned int considered;
+
static int update_file PARAMS ((struct file *file, unsigned int depth));
static int update_file_1 PARAMS ((struct file *file, unsigned int depth));
static int check_dep PARAMS ((struct file *file, unsigned int depth, FILE_TIMESTAMP this_mtime, int *must_make_ptr));