Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Napoleon on March 23, 2014, 11:19:47 am

Title: CodeBlocks 13.12 make clean not make cleanall
Post by: Napoleon on March 23, 2014, 11:19:47 am
How can I get CodeBlocks 13.12 to do "make clean" instead of, I think,  "make cleanall"?

My Build log returns an error saying:

Code
-------------- Clean: all in a1 (compiler: GNU GCC Compiler)---------------

make: *** No rule to make target `cleanall'.  Stop.
Error cleaning "a1 - all"
Done.

My Makefile has a 'clean' target, which works from the command line (essential for my needs).
I've tried modifying the make rules in the project's properties but nothing I can think of seems to work (including removal of $target from the command).
(The build side of it is working fine with my setting.)

Can anyone help please?

Cheers,
Nap
Title: Re: CodeBlocks 13.12 make clean not make cleanall
Post by: Jenna on March 23, 2014, 11:23:47 am
Fix "Build options -> [your target] -> Make commands" .
Title: Re: CodeBlocks 13.12 make clean not make cleanall
Post by: Napoleon on March 23, 2014, 01:08:40 pm
Right,  didn't realise the significance of the targets in the left hand panel.

Thanks!