Another crack at per-target .ONESHELL.
The major problem with v3 was that the shared struct commands for
implicit rules, .DEFAULT rules suffix rules etc. caused use of .ONESHELL
with any target covered by such a rules to "infect" other targets
sharing the recipe (but not themselves named as .ONESH
---
src/job.c | 22 -
tests/scripts/targets/ONESHELL | 848 +
2 files changed, 848 insertions(+), 22 deletions(-)
diff --git a/src/job.c b/src/job.c
index f0a7f6cb..cd24d290 100644
--- a/src/job.c
+++ b/src/job.c
@@ -1135,28 +1135,6 @@ free_ch
---
src/commands.c | 206 ++---
src/commands.h | 18 -
src/default.c | 3 +
src/file.c | 11 +++
src/filedef.h | 2 +
src/job.c | 111 +-
src/main.c | 9 ++-
src/makeint.h | 2 +-
src/read.c | 8
---
.gitignore | 2 ++
Makefile.am | 54 +---
cflow.rc | 16 +++
src/.cscope_rebuild_commands | 1 +
src/main.c | 5
src/myMakeLog.c | 31 +
src