DOCUMENT:Q150351 03-AUG-2001 [visualc] TITLE :FIX: Absolute Pathnames for Source Files Placed in Makefile PRODUCT :Microsoft C Compiler PROD/VER:4.0 4.1 OPER/SYS: KEYWORDS:kbVC500fix ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual C++, versions 4.0, 4.1 ------------------------------------------------------------------------------- SYMPTOMS ======== The Developer Studio generated Makefile contains absolute path names for source files. CAUSE ===== The source files reside in a directory other than the project directory. RESOLUTION ========== Modify the Makefile to use relative paths by opening the .mak file in text mode. CAUTION: Be extremely careful not to add any extra spaces or unexpected characters. NOTE: Anytime the IDE writes to the .mak file, your changes are overwritten and the full path name is re-installed. Make a backup copy of the .mak file immediately after adding the relative paths to ensure that changes can be re-entered if there is a problem. STATUS ====== Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ version 5.0. Additional query words: kbVC400bug nmake makefile mak external vc ====================================================================== Keywords : kbVC500fix Technology : kbVCsearch kbVC400 kbAudDeveloper kbVC410 Version : 4.0 4.1 Issue type : kbbug Solution Type : kbfix ============================================================================= 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 2001.