Q44757: Multiple Targets in NMAKE Do Not Work
Article: Q44757
Product(s): See article
Version(s): 2.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist2.00 docerr S_QUICKC | mspl13_basic
Last Modified: 2-JUN-1989
Multiple targets in the QuickC Version 2.00 NMAKE utility do not work
properly. The example on the top of Page 167 of the "Microsoft QuickC
Tool Kit" manual shows that each target listed before the dependencies
should be evaluated; however, only the first target is evaluated, and
the others are ignored. Make files that are simplified even more
respond the same way.
The following make file demonstrates the problem:
target1.exe target2.exe: depend1.obj depend2.obj
echo $@
For the make file to work properly, change the file to the
following:
BUILD: target1.exe target2.exe
target1.exe: depend1.obj depend2.obj
echo $@
target2.exe: depend1.obj depend2.obj
echo $@
Microsoft has confirmed this to be a problem in QuickC Version 2.00.
We are researching this problem and will post new information as it
becomes available.
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.