News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Makefile build bug?

Started by stahta01, March 04, 2013, 12:13:36 AM

Previous topic - Next topic

stahta01

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.
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]

stahta01

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.
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]

Jenna

Quote from: 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.
I will look into it this evening.

stahta01

#3
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.  


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]