Author Topic: CodeBlocks 13.12 make clean not make cleanall  (Read 5178 times)

Offline Napoleon

  • Multiple posting newcomer
  • *
  • Posts: 59
CodeBlocks 13.12 make clean not make cleanall
« 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: CodeBlocks 13.12 make clean not make cleanall
« Reply #1 on: March 23, 2014, 11:23:47 am »
Fix "Build options -> [your target] -> Make commands" .

Offline Napoleon

  • Multiple posting newcomer
  • *
  • Posts: 59
Re: CodeBlocks 13.12 make clean not make cleanall
« Reply #2 on: March 23, 2014, 01:08:40 pm »
Right,  didn't realise the significance of the targets in the left hand panel.

Thanks!