On 1/18/2022 1:03 PM, Paul Smith wrote:
You can achieve this if you want: that's what the .ONESHELL feature does.
OK. But what about thinking bigger. What would the positives and negatives be if make were to generate a big shell script so that all the work were done in one shell? Such a shell script could handle parallel execution by proper use of the 'wait' command. This is similar to what Ansible does, but Ansible generates a Python program rather than a shell script. To be honest, I don't have any reason to do this, but it's something to think about. Jon