An undetermined call to function ‘shell’: missing ‘. Stop. Problem encountered when using shell command in makefile

Calling a shell command in a

Makefile if the command has the character ‘#’, this can cause the following problem:

Makefile:3: *** unterminated call to function `shell': missing `)'. Stop.

possible reason: “”#" is parsed as a comment in a Makefile.

so if you want to use “#” you can just add the escape character “\#”.

Read More: