Makefile:
$(shell ./test.sh)
1st experiment: test.sh
echo "hi"
Error I get:
Makefile:1: *** missing separator. Stop.
2nd experiment: test.sh
echo("hi")
Errors I get:
./test.sh: line 1: syntax error near unexpected token `"hi"'
./test.sh: line 1: `echo("hi")'
Doesn't make any sense...it looks as if 'Make' tries to impose its syntax on the shell script, but the shell script wants its own too.