KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q44133: Modifying a QuickC 2.00 Make File to Run MAKE

Article: Q44133
Product(s): See article
Version(s): 1.00   | 1.10
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | s_quickc s_c h_FORTRAN | mspl13_basic
Last Modified: 26-MAY-1989

Question:

What modifications must I make to a make file generated by QuickC
Version 2.00 so that I can run NMAKE on it and use my Microsoft C
Version 5.10?

Response:

Only a few modifications must be made to allow a make file generated
by QuickC to invoke C Version 5.10. The following three items need to
be changed:

1. Change the CC macro from qcl to cl. To do this, locate the
   following line in the make file generated by QuickC and change qcl
   to cl:

      CC=qcl

2. Take out references to ilink. The ilink references are embedded
   into your make file if you have the ilink option turned on in your
   environment. The following line in the make file

      ilink -a -e "link $(LFLAGS) @$(PROJ).crf" $(PROG)

   must be changed to the following:

      link "$(LFGLAGS) @$(PROJ).crf" $(PROG)

3. Remove any compiler switches in the make file that cl will not
   recognize. To eliminate this problem, turn off incremental compile
   in the QuickC environment prior to making the make file.

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.