I need to interpret a python program line by line. I am using -c option to python and have makefile like this.
all:
python -c
"print 'aa'
print 'bb'"
When I run it with make I get
python -c "print 'aa'
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [all] Error 2
when I take out the same python lines and run from bash, it works fine. What could be the problem?