User forums > Using Code::Blocks
Have code::blocks only run 'make'
dfatcb:
Hi,
So I want to use code::blocks to build a kernel module for convenience. All I need it to do is run "make" from the directory (can also setup "make clean" since the Makefile can call the kbuild clean option). How do I set that up?
TIA!!
stahta01:
Two obvious ways.
1. Script only CB Project. Edit2: This would use CB Pre and/or Post build steps.
2. CB Custom makefile project.
Edit: The first Wiki link I found it is NOT one I recognized http://wiki.codeblocks.org/index.php/Code::Blocks_and_Makefiles
But, I have no idea why you wish to use Code::Blocks to do this task.
I would choose option 1. and use a script only project; but, this is likely because in the past I used option 2 and would like to know if option one is better.
Tim S.
oBFusCATed:
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28general%29#Q:_My_project_should_be_compiled_with_a_custom_makefile._Is_it_possible_with_Code::Blocks.3F
dfatcb:
I checked that box, but also set the type to script only and also tried native. neither would build?
oBFusCATed:
Have you inspected the build log? When you open the build options you'll see what make commands are executed. You have to edit them to suit your makefile.
Navigation
[0] Message Index
[#] Next page
Go to full version