KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q43999: NMAKE Is Case Sensitive

Article: Q43999
Product(s): See article
Version(s): 1.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_basic
Last Modified: 3-MAY-1989

It is not clearly stated in the manual that NMAKE IS case sensitive.
Case sensitivity is imposed on the following:

1. Macros

   For instance, if you define "TEXT" as a macro, you must use $(TEXT)
   to insert it. If $(text) is used, the macro is undefined and
   nothing happens.

2. Predefined Macros (.SUFFIXES;.PRECIOUS, CC, etc.)

   Predefined macros such as .SUFFIXES must be in all in uppercase
   letters. If you use .suffixes, NMAKE returns the error ".suffixes
   too long: truncated to 8.3".

3. File extensions

   When adding file extensions to the .SUFFIXES list, you must
   preserve case. For example, to add the file extension .dll to the
   suffix list, you would put the following line in your makefile:

      .SUFFIXES : .dll

   Then, all files with the .dll extension must have the .dll
   extension in lowercase letters.

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.