Author Topic: Makefiles with C::B  (Read 3667 times)

Offline Gavrillo

  • Single posting newcomer
  • *
  • Posts: 7
Makefiles with C::B
« 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

Online stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Makefiles with C::B
« Reply #1 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.
« Last Edit: March 30, 2010, 03:43:51 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Gavrillo

  • Single posting newcomer
  • *
  • Posts: 7
Re: Makefiles with C::B
« Reply #2 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!