$ cat Makefile SHELL=python3.7 all: print('hello', [1, 2, 3]) $ gmake print('hello', [1, 2, 3]) hello [1, 2, 3] $ make print('hello', [1, 2, 3]) sh: 1: Syntax error: Word "hello," unexpected (expecting ")") *** Error code 2 Stop. make: stopped in /tmp