For linux, I found this oneliner to be super useful: echo 'all:;@echo $(SHELL)' | make -f-
echo 'all:;@echo $(SHELL)' | make -f-