Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Gavrillo on March 28, 2010, 09:41:33 pm

Title: Makefiles with C::B
Post by: Gavrillo on March 28, 2010, 09:41:33 pm
Hi -- Sorry but I'm back again banging on about makefiles.  I have a makefile that definitely needs updating (I deleted all the object files and the .exe file) but I get a message

Execution of 'mingw32-make.exe -f Makefile.mak target' in 'C:\Development\test' failed.
Nothing to be done.

When I try 'making' at the command prompt it starts to make the file (it collapses in a welter of errors because I haven't added any wx libraries yet, but it does start) so I think there is something that code::blocks doesn't like.

I have trawled the forums but can't find anything that suggests an answer.  Anyone?

Codeblocks 8.02
minGW 3.4.5
wxWidgets 2.8.10.6
Windows Vista SP1
Title: Re: Makefiles with C::B
Post by: stahta01 on March 28, 2010, 10:30:35 pm
1. Turn on full compiler logging; IIRC it prints the makefile commands
2. what are the target in the makefile?
3. What are the targets in the C::B project?

Edit: To test server time.

Tim S.
Title: Re: Makefiles with C::B
Post by: Gavrillo on March 29, 2010, 02:55:40 pm
Hi stahta01 - Thanks for taking the time to reply.  Whilst I was looking to set logging to output to an HTML file, I noticed that I had set minGW to a version from another editor.  I changed that to the version installed with C::B and hey presto!

I can't quite understand how what I did works, but it did, so who cares!