I'm running Eclipse 3.7.2 with CDT installed. Ubuntu 12.04 LTS.
I have an existing makefile C++ project that I'm trying to import from Geany. I can run
make: * No rule to make target `all'. Stop.
I just figured out the solution. As usual, it should have been obvious.
make: *** No rule to make target `all'. Stop. Eclipse error's top rated answer was right on track, but slightly vague. Here's the solution:
The error was being thrown because Eclipse was trying to find a rule to build "all", which was specified as a target by default.
Removing "all" (and leaving everything else as default) tells Eclipse to build the project in the exact same manner that calling
$ make from the terminal would.
If I'm wildly incorrect in any of these statements, feel free to correct me.