This is a known bug. There's a fix for it somewhere around here... ah,
here it is.
Have fun...
--- make-3.79.1/job.c Fri Jun 23 11:54:56 2000
+++ make/job.c Wed May 2 01:17:08 2001
@@ -895,8 +895,14 @@
++p;
}
- /* Update the file's command flags with any new ones we found.
The make info pages include the following quote under
Commands->Sequences:
---
In command execution, each line of a canned sequence is treated just
as if the line appeared on its own in the rule, preceded by a tab. In
particular, `make' invokes a separate subshell for each line. You can