summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-11-17 07:33:47 +0000
committerPaul Smith <psmith@gnu.org>1999-11-17 07:33:47 +0000
commitebb733c0f9ab045b6fd6245df2baf2e87463e1bc (patch)
treebf5d793b4cc99724673804160f2e5e73889da8cc /main.c
parent3e26bde6dbc9a8a46d5a1a694e6810e689cbd25a (diff)
downloadgunmake-ebb733c0f9ab045b6fd6245df2baf2e87463e1bc.tar.gz
* Many cleanups and bugfixes.
* New handling of += in target-specific variables.
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/main.c b/main.c
index 4ea4f66..a1b3d74 100644
--- a/main.c
+++ b/main.c
@@ -419,6 +419,11 @@ struct file *default_file;
int posix_pedantic;
+/* Nonzero if we have seen the `.NOTPARALLEL' target.
+ This turns off parallel builds for this invocation of make. */
+
+int not_parallel;
+
/* Nonzero if some rule detected clock skew; we keep track so (a) we only
print one warning about it during the run, and (b) we can print a final
warning at the end of the run. */
@@ -1776,7 +1781,8 @@ int main (int argc, char ** argv)
/* If we detected some clock skew, generate one last warning */
if (clock_skew_detected)
- error (NILF, _("*** Warning: Clock skew detected. Your build may be incomplete."));
+ error (NILF,
+ _("warning: Clock skew detected. Your build may be incomplete."));
/* Exit. */
die (status);
@@ -1860,7 +1866,7 @@ handle_non_switch_argument (arg, env)
if (arg[0] == '-' && arg[1] == '\0')
/* Ignore plain `-' for compatibility. */
return;
- v = try_variable_definition (0, arg, o_command);
+ v = try_variable_definition (0, arg, o_command, 0);
if (v != 0)
{
/* It is indeed a variable definition. Record a pointer to