问题
I am using cygwin for 64 bit Windows but while compiling a makefile I end up with this error
/bin/sh: -c: line 0: syntax error near unexpected token `('
What should I do ?
回答1:
Just guessing: you use bashisms in your Makefile, but don't set the shell (/bin/sh
reports the error). Just state
SHELL := /bin/bash
at the top of the Makefile.
来源:https://stackoverflow.com/questions/31851661/error-while-compiling-through-cygwin