Q61619: /MAKE Option Is Invalid with NMAKE
Article: Q61619
Product(s): See article
Version(s): 1.11 | 1.11
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | docerr | mspl13_basic
Last Modified: 25-MAY-1990
On Page 43 of the "Microsoft C Reference" manual for version 6.00,
NMAKE is described as being upwardly compatible with the earlier MAKE
utility through the use of the /MAKE option. Since NMAKE does not
support the /MAKE option, it produces the error "U1065: Invalid
option 'm'."
To work around this problem, you can either use the earlier MAKE
utility, or use a pseudo-target on the first line of your make file.
The pseudo-target line should read as follows:
ALL: [target name.exe/obj]
For more information about the differences between MAKE and NMAKE, see
Section 6.9 of the "Microsoft C Advanced Programming Techniques"
manual for version 6.00.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.