how hard would it be to implement per-target .ONESHELL?

2024-10-31 Thread Britton Kerin
Thinking about it again this would be the single biggest upgrade I can think of for Make for me. I have so much code strung together with && \ but it's all in fairly large complex makefiles and there's no way I'm going to risk global .ONESHELL effects on targets I'm not actively reviewing. I'd lik

Re: Idea: Allow some special targets to also be given as prerequisites (foo: .PHONY == .PHONY: foo)

2024-10-31 Thread Britton Kerin
On Thu, Oct 31, 2024 at 9:19 AM David A. Wheeler wrote: > > GNU Make supports a number of special built-in target names > . > > I think it'd be helpful if some special target names could be listed as > *prerequisites* (foo: .PHONY

Idea: Allow some special targets to also be given as prerequisites (foo: .PHONY == .PHONY: foo)

2024-10-31 Thread David A. Wheeler
GNU Make supports a number of special built-in target names . I think it'd be helpful if some special target names could be listed as *prerequisites* (foo: .PHONY) and doing so would have the same effect as listing them as targets