Rahul galgali
Rahul galgali

Reputation: 773

How to run makefile in Cygwin

I am trying to run Makefile in cygwin. Error msg:

$ make /cygdrive/d/IoT/trunk/Macchina/TestBed/Makefile
make.exe: *** No rule to make target `/cygdrive/d/IoT/trunk/Macchina/TestBed/Makefile'.  Stop.

Upvotes: 5

Views: 18784

Answers (1)

Etan Reisner
Etan Reisner

Reputation: 80931

You don't give make the makefile as an argument like that.

cd to that directory and run make.

Or if that makefile is intended to be used from other directories as well then you can try make -f /cygdrive/d/IoT/trunk/Macchina/TestBed/Makefile.

Upvotes: 4

Related Questions