# This is a part of the Active Template Library. # Copyright (C) Microsoft Corporation # All rights reserved. # # This source code is only intended as a supplement to the # Active Template Library Reference and related # electronic documentation provided with the library. # See these sources for detailed information regarding the # Active Template Library product. Building ATL and MFC To build either ATL or MFC open a command prompt and run vcvars32.bat from \bin Change directory to \atlmfc\src atlmfc.mak can be used to rebuild all ATL and MFC libraries and DLLs. Following is the command line you can specify with NMAKE nmake /f atlmfc.mak [ALL | ATL | MFC] [CLEAN= ] [LIBNAME= ] Targets ALL - builds both ATL and MFC. This is the default target. LIBNAME has to be specified. ATL - builds only ATL. MFC - builds only MFC. LIBNAME has to be specified. CLEAN=1 cleans the files generated by the specified targets LIBNAME="name of the MFCdll being built" - specifying MFC80 builds the prebuilt DLLs