1

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 ?

perror
  • 7,071
  • 16
  • 58
  • 85
newbie_in
  • 55
  • 1
  • 8

1 Answers1

0

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.

choroba
  • 231,213
  • 25
  • 204
  • 289
  • Thank you....But was able to fix the error...there was some bug in the directory inclusion part of the makefile... – newbie_in Aug 06 '15 at 10:42