KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q37494: Differences in MAKE Files among QuickC 1.00, 1.01, and 2.00

Article: Q37494
Product(s): See article
Version(s): 2.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_c
Last Modified: 20-JAN-1989

If you have upgraded from QuickC Version 1.00 or 1.01 to Version 2.00,
and you have already created MAKE files for your programs under the
previous versions of QuickC, you must make the following changes to
these MAKE files so that they are compatible with QuickC Version
2.00's NMAKE utility.

To convert old-style MAKE files to NMAKE files, do the following:

Note: It is almost always easier and quicker to delete the old
MAKE file and allow QuickC Version 2.00 to build a new one from
scratch.

1. Make a copy of your old MAKE file, so you can return to the
   original if needed.

2. Remove the two lines of the inference rule by deleting them or
   commenting them out with a "#" at the start of the
   line.

   The inference rule is in the form of the following:

            .c.obj
                qcl /c /AM $*.c

3. Add the following as the new first target:

   "all: prog.exe"
   (where "prog" is the name of your program's executable)

4. Change "Prog.exe" to "prog.exe" in the last target "prog.obj".
   (Again "prog" is the name of your program's executable.)

5. Enter QuickC.

6. Choose the MAKE menu and the SET option

7. Save the MAKE file.

The MAKE file has now been converted so that it is compatible with
QuickC Version 2.00's NMAKE.

This information can be found in the "Microsoft QuickC 2.00 Toolkit"
manual in Sections 7.5 and 7.6. A complete description of NMAKE's
capabilities and functionality can be found in Chapter 7.

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.