User forums > Using Code::Blocks

CodeBlocks 13.12 make clean not make cleanall

(1/1)

Napoleon:
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.

--- End code ---

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

Jenna:
Fix "Build options -> [your target] -> Make commands" .

Napoleon:
Right,  didn't realise the significance of the targets in the left hand panel.

Thanks!

Navigation

[0] Message Index

Go to full version