User forums > Using Code::Blocks

use custom makefile

(1/2) > >>

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.

Navigation

[0] Message Index

[#] Next page

Go to full version