Linked Questions

Popular Questions

I have sh.exe in my PATH and Makefile uses it no matter what other enviroment variables are set. It ignores ComSpec, SHELL and MAKESHELL that point to cmd.exe. If I set SHELL := cmd inside make file, then Makefile uses it, but I would like the opposite: I want Makefile to use cmd.exe by default unless another shell is specified. How do I do this?

Related Questions