Error while compiling through cygwin

207 Views Asked by At

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

There are 1 best solutions below

1
On

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.