Re: Idea: Enable .ONESHELL to be per-target

2019-06-10 Thread David Boyce
> You can probably make a case for either one, but .ONESHELL already exists, so let's just expand what's already there. It's also worth noting that .ONESHELL is a recommendation from POSIX. There's a note in POSIX.2 that says something along the lines of "Recipes should have been passed to a singl

Re: Idea: Enable .ONESHELL to be per-target

2019-06-10 Thread David A. Wheeler
> On Mon, Jun 10, 2019 at 4:56 AM David A. Wheeler > wrote: > > Another idea: Enable .ONESHELL to be per-target. On Mon, 10 Jun 2019 11:47:19 -0800, Britton Kerin wrote: > Strongly seconded, I would definitely use this. I've been > attracted to it many times but never dared try globally. > Wo

Re: Idea: Enable .ONESHELL to be per-target

2019-06-10 Thread Britton Kerin
On Mon, Jun 10, 2019 at 4:56 AM David A. Wheeler wrote: > > Another idea: Enable .ONESHELL to be per-target. > > Problem: According to the docs .ONESHELL is global in effect, > so using it in an existing makefile requires a lot of rework. Strongly seconded, I would definitely use this. I've been