Author Topic: Newbie needs help  (Read 3097 times)

Offline DDobson

  • Single posting newcomer
  • *
  • Posts: 4
Newbie needs help
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Newbie needs help
« Reply #1 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

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline DDobson

  • Single posting newcomer
  • *
  • Posts: 4
Re: Newbie needs help
« Reply #2 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...