On Fri, 2022-02-11 at 06:46 -0800, th...@vmware.com wrote: > clean_windows: SHELL:=cmd.exe
This is the key; I was about to send the same thing. The SHELL make variable, like every other variable, can be set as a target-specific variable to have it apply to only specific targets.