Code::Blocks Forums

User forums => Help => Topic started by: DDobson on December 16, 2007, 12:01:09 pm

Title: Newbie needs help
Post by: DDobson on December 16, 2007, 12:01:09 pm
Hi everyone

I am totally new to Code::Blocks but what from success I have had from using the GNU GCC compiler I am definitely going to be using it allot more!.

I'm sure this is a really simple problem but when ever I try to build my project I get the following error:

Build:

make.exe: *** No rule to make target `Debug'.  Stop.

Clean and build:

make.exe: *** No rule to make target `cleanDebug'.  Stop.

I am using a custom make file and compiling with the WINAVR compiler. After a bit of forum trawling I have set the project's properties to "this is a custom make file" and it seems to find it ok - but I still get the above error.

In the second example it looks like it is using the command to clean the project as a target for make.exe...

(as I say im new to this and make be totally wrong, could someone lend me a hand?)

Many thanks  :)

David
Title: Re: Newbie needs help
Post by: stahta01 on December 16, 2007, 03:28:14 pm
It is saying the makefile does not contain those targets.

The normal makefile has at least these targets:
clean:
all:

Which nightly build/SVN are you using?

Tim S

Title: Re: Newbie needs help
Post by: DDobson on December 21, 2007, 11:51:09 am
Hi

I am using the SVN build 4737

and WinAVR-20070525.

I have been reading around and have been trying to change the Build Method (under General compiler settings) with no joy - it's greyed out for some reason...