News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

use custom makefile

Started by zkey, January 17, 2006, 11:31:55 PM

Previous topic - Next topic

zkey

Hi,

I'm a new one who decided to give CB a try :)

I have a custom makefile for my wxwidgets project that I want to use. I want to know, how to use that makefile, and disable makefile-generation of CB (if there is any). Everything that I want is to make CB use "make -f mymake.gcc" in my project; don't want (now) to define any libs/includes etc.

Sorry if there already exists a similar topic.

Thanks in advance.

Regards,
zkey

rickg22

Yes, it's hidden somewhere inside the project's build options and/or properties. It says something like "Use custom makefile".

tiwag

Project->Properties-> Project-Tab : Makefile:  checkbox "This is a custom Makefile"

not really well hidden  :)

zkey

Thanks for the answer.

I found that option, typed the name of my makefile and activated the box 'this is a custom makefile', but it seems that it is ignored by CB. Any ideas?

zkey

rickg22

Ah, if you have that, then you must go to the Compiler Settings, Other, and set the build method to "use makefiles".

Just remember to do it AFTER you have checked on "this is a custom makefile", which you already did.

zkey

Quote from: rickg22 on January 18, 2006, 12:07:15 AM
Ah, if you have that, then you must go to the Compiler Settings, Other, and set the build method to "use makefiles".

Just remember to do it AFTER you have checked on "this is a custom makefile", which you already did.

Now it works. Thanks a lot!  :)

zkey

Google

Quote from: zkey on January 18, 2006, 12:12:35 AM
Quote from: rickg22 on January 18, 2006, 12:07:15 AM
Ah, if you have that, then you must go to the Compiler Settings, Other, and set the build method to "use makefiles".

Just remember to do it AFTER you have checked on "this is a custom makefile", which you already did.

Now it works. Thanks a lot!  :)

zkey

It does not work for me. I use current version of codeblocks, but the build method listbox is disabled. Any suggestions? Thanks

Abscissa

Quote from: Google on March 14, 2008, 06:21:01 PM
Quote from: zkey on January 18, 2006, 12:12:35 AM
Quote from: rickg22 on January 18, 2006, 12:07:15 AM
Ah, if you have that, then you must go to the Compiler Settings, Other, and set the build method to "use makefiles".

Just remember to do it AFTER you have checked on "this is a custom makefile", which you already did.

Now it works. Thanks a lot!  :)

zkey

It does not work for me. I use current version of codeblocks, but the build method listbox is disabled. Any suggestions? Thanks

I'm having the same problem with C::B v8.02. The Build Method listbox is disabled regardless of compiler, and regardless of the "this is a custom makefile" setting.

itzjac

the same problem, Setting->Compiler and Debuggin settings->Build method is desactivated even when you activate the mentioned flags .... could it be fixed???

OS: suse
CodeBlocks 8.02v