summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-10-24 22:57:07 +0000
committerRoland McGrath <roland@redhat.com>1994-10-24 22:57:07 +0000
commit07f09cfd88df1835804ff87171a264d3b13a943c (patch)
tree5840ac29ee950fb8092ca4a57e898de2330478b7
parentd37c9ba18a29356a8a355978b7118aaeac44b518 (diff)
downloadgunmake-07f09cfd88df1835804ff87171a264d3b13a943c.tar.gz
(main): Move checks .IGNORE, .SILENT, .POSIX to snap_deps.
-rw-r--r--main.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/main.c b/main.c
index c3fe90d..9c17a34 100644
--- a/main.c
+++ b/main.c
@@ -785,17 +785,8 @@ main (argc, argv, envp)
define_makeflags (1, 0);
- f = lookup_file (".IGNORE");
- ignore_errors_flag |= f != 0 && f->is_target;
-
- f = lookup_file (".SILENT");
- silent_flag |= f != 0 && f->is_target;
-
- f = lookup_file (".POSIX");
- posix_pedantic = f != 0 && f->is_target;
-
- /* Make each `struct dep' point at the
- `struct file' for the file depended on. */
+ /* Make each `struct dep' point at the `struct file' for the file
+ depended on. Also do magic for special targets. */
snap_deps ();