make: Make subshells
By default make
creates a new subshell for each line of each recipe.
.ONESHELL
is a special target that changes the behaviour to create a new subshell for each recipe.
There isn't a way to instruct make
to use the same new subshell for all lines of all recipes. 🙁
Published on: 11 Jul 2022