Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Flake on January 12, 2009, 03:04:21 pm
-
a) In "Compiler Settings", under the tab "Other", there's a setting called "Build Method". Choose "Work with makefiles". (http://wiki.codeblocks.org/index.php?title=FAQ#Q:_My_project_should_be_compiled_with_a_custom_makefile._Is_it_possible_with_Code::Blocks.3F)
Could anyone show me where do we have a setting called "Build Method"? "Compiler Settings" ->"Other" -> here I have plain text area, nothing to choose.
(http://img60.imageshack.us/img60/5779/cbmakefilelk5.png) (http://imageshack.us)
-
I just updated the FAQ with updated directions.
Please see if it makes sense now.
Tim S
-
I am having a problem using a custom makefile too. I am trying to build a project that has a makefile included that in its turn includes other make files (it has statements like"include Makefile.other" inside). I must also say that the cb project files are in a separate folder from the source files, but I added the full path to the custom make file and it started processing it. However, on the first statement that includes other makefile, it says it cannot find that other makefile. Is there anyway to setup folders to search for other makefiles? I added the path to the folder containing the other make file into the compiler search directory tab, but no results. How can I build when I have multiple custom makefiles that include one another?
Thanks
-
I am having a problem using a custom makefile too. I am trying to build a project that has a makefile included that in its turn includes other make files (it has statements like"include Makefile.other" inside). I must also say that the cb project files are in a separate folder from the source files, but I added the full path to the custom make file and it started processing it. However, on the first statement that includes other makefile, it says it cannot find that other makefile. Is there anyway to setup folders to search for other makefiles? I added the path to the folder containing the other make file into the compiler search directory tab, but no results. How can I build when I have multiple custom makefiles that include one another?
Thanks
Move the project file to the same folder as top makefile is the easiest way.
The other way is to create an makefile, in same folder as CBProject file, that calls former top makefile.
Tim S