News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Makefiles with C::B

Started by Gavrillo, March 28, 2010, 09:41:33 PM

Previous topic - Next topic

Gavrillo

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

stahta01

#1
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Gavrillo

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!