News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Custom makefile not working when project has dependencies

Started by nyau, March 26, 2008, 06:59:20 PM

Previous topic - Next topic

nyau

Hi people!

I'm using recently Code::Blocks (the ubuntu version) and is one of the best free IDEs that I've tried so far... but, I have a problem.

In my workspace I have two projects, one is a static library and the other is an application that uses this library.

To compile the application, I use a custom makefile generated by another application, and, for the library, the standard Codeblocks way.

If I compile the application without dependencies, it works fine, I can debug the application and everything is fine.
If I add the dependency with the library, then Codeblocks doesn't find the makefile, showing this error:

make: Makefile: No such file or directory
make: *** No rule to make target `Makefile'.  Stop.

Any ideas?

Thanks!!