windows - nmake - simple question about escaping -
I want to lower the nmake code to create the check.mak file with the following content: $ (A) Instead, I get the following error: "NMAKE: Fatal Error U1040: Internal Error: Macro Extensions" Any suggestions? My NewMeC version is 9.00.30729.01 (VC 2008).
option = one file = check.meters all: @echo "$$ ($ (OPTION))" & gt; $ (FILE)
This looks like a bug in NMAKE After some experiment, It turns out that the output that you want near you, though it is a bit ugly:
OPTION = a FILE = check.mak LPAREN = (RPAREN =) All: echo $ $$ (LPAREN) $ (option) $ (RPAREN) & gt; $ (FILE) What is the cost of it, I have also tried with my original NMKE emulator which my company sells, and found that there is no error on this Macfill, which That is why I feel confident saying that NMAKE is a behavioral bug observed in the implementation of NMKE rather than a boundary of syntax.
Hope that helps,
Eric Mlsby
Comments
Post a Comment