Hello, I've just started a new project at work, the guys that have been working on it previously have been coding c++ and using VIM as an editor. I'm trying to get eclipse running with their codebase (for a more helpful programming environment). I'm not very experienced in c++ but here's the problem:

There's a master makefile in the parent folder that runs through and executes custom make files on all child application folders. I think because of this when i setup an eclipse C++ project and try to build, i get an error saying

"make all
make: *** No rule to make target `all'. Stop."

I also have eclipse set 'not' to automatically generate make files.

i've checked every make file in the sub directories, as well as the master makefile, and each one has an 'all' target in the file. Any clues as to a way around this? Is there anyway i can point eclipse to the master makefile to get executed every time i build?


///////////////EDIT////////////////////////////

This problem has been solved. For anyone that might want the answer, this was solved over at eclipse.org forums here's the reply i was given which worked for me:

----------------------------------------------------------------------
I assume, that there is a MAKE tool present, which processes the master makefile.
I also assume, that there is a commandline call to that MAKE tool to actually 'make' the project.

So here is my solution:

- Create your Eclipse project as an 'Empty Makefile project'.
(Maybe you need for this a toolchain, for example MinGW.)

- Under 'Project | Properties | C/C++ Build' create a 'Build Configuration' with a name of your choice, uncheck 'Use default build command' and fill in at 'Build command' ONLY the call to the MAKE tool.

- In the register 'Behaviour' check 'Build (Incremental build)' and fill the line behind with the PARAMETERS needed for the make process e.g. the master makefile.

Then you have a Build configuration, which can be called e.g. via 'Ctrl-B' or clicking on the 'hammer' symbol.

Hope that helps.

Best regards
Dirk
-------------------------------------