Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: stahta01 on March 04, 2013, 12:13:36 am

Title: Makefile build bug?
Post by: stahta01 on March 04, 2013, 12:13:36 am
FYI:

I am getting weird build log message when doing custom makefile build both with 12.11 and SVN Truck 8898

Quote
make.exe: *** No rule to make target `cmd'.  Stop.
make.exe: Nothing to be done for `>'.

Workaround to to set "Compiler Logging" to "Full command line"

The problems happens if "Compiler Logging" set to "Task Description" or to "No logging"

I would suggest fixing "No logging", first.
Because, I think "Task Description" could be set to do the same as "Full command line" or "No logging" for now.

Windows 7 32 bit running TDM's MinGW gcc make (mingw32-make.exe)

Tim S.
Title: Re: Makefile build bug?
Post by: stahta01 on March 04, 2013, 06:15:21 pm
I have attached a very simple makefile, CB Project and source file to show the problem.

Can someone confirm the problem exists on another PC under Windows?

Tim S.
Title: Re: Makefile build bug?
Post by: Jenna on March 04, 2013, 07:30:50 pm
I have attached a very simple makefile, CB Project and source file to show the problem.

Can someone confirm the problem exists on another PC under Windows?

Tim S.
I will look into it this evening.
Title: Re: Makefile build bug?
Post by: stahta01 on March 04, 2013, 08:06:59 pm
After I changed the tool chain to use "mingw32-make.exe" as the make exe I was able to duplicate the issue at my college computer lab.
They are Windows 7 SP1 64 bit.
They are also run in administrator mode at all times with UAC turned off.
I am administrator at home with UAC turned on on Windows 7 Ultimate 32 bit SP 1.

Tim S.