printing long compilation lines with MS NMAKE

Posted by Elazar Leibovich on Stack Overflow See other posts from Stack Overflow or by Elazar Leibovich
Published on 2009-08-11T14:05:54Z Indexed on 2010/12/26 14:54 UTC
Read the original article Hit count: 293

Filed under:
|
|

I have a legacy MS NMAKE Makefile I need to fix a few bugs in.

There are some very long command lines I wish to debug that are being executed using the NMAKE trick of "inline files":

dep:
    cmd @<<tmpfilename
cmd_args..
<<

When changing the line to

dep:
    echo cmd @<<tmpfilename
cmd_args..
<<

NMAKE complains that the line is too long.

Is there any other trick I can apply in order to view the command line NMAKE is actually executing?

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about makefile