Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: PerryWerneck on July 06, 2007, 02:04:12 pm

Title: Using Makefile based build in codeblocks (disabling internal compiler).
Post by: PerryWerneck on July 06, 2007, 02:04:12 pm
Hi,

I'm newbie using codeblocks and, in my first try with an older project I got a problem: How can I set the build/compile buttons to call a predefined makefile disabling the compiler dialogs?

This would be usefull when building older projeto who has their own Makefiles.

Title: Re: Using Makefile based build in codeblocks (disabling internal compiler).
Post by: thomas on July 06, 2007, 02:43:20 pm
(http://img264.imageshack.us/img264/4440/0000ep1.png)
Title: Re: Using Makefile based build in codeblocks (disabling internal compiler).
Post by: PerryWerneck on July 06, 2007, 03:18:13 pm
Thanks!!! Problem solved withou your help and some small changes in the makefiles.
Title: Re: Using Makefile based build in codeblocks (disabling internal compiler).
Post by: pibeac on July 06, 2007, 03:28:27 pm
I also have some problems with makefiles... I have a workspace with multiple projects, some of them needs a makeFile ( they are QT project and i use the qtWorkbench to generate the makeFile ) and some other does not need any makefile. When i want to build every projects of my workspace ( i click on build which usually builds the entire workspace ), the project that needs makefile doesn't compile and the error is that there is no target associated to makefile.something... ( i dont remeber the exact error because it happens yesterday and i am not in front of my developpement computer right now ) Is it a known issue? if not i can try to provide more...

Thanks