News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

CodeBlocks 13.12 make clean not make cleanall

Started by Napoleon, March 23, 2014, 11:19:47 AM

Previous topic - Next topic

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:

-------------- 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

Jenna

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

Napoleon

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

Thanks!