home *** CD-ROM | disk | FTP | other *** search
- @REM
- @REM AMAKE.BAT -
- @REM
- @REM batch file to make ADS\CPP\MFCADS OBJs and MFC ADS samples
- @REM
- @REM (C) Copyright 1988-1994 by Autodesk, Inc.
- @REM
- @REM This program is copyrighted by Autodesk, Inc. and is licensed
- @REM to you under the following conditions. You may not distribute
- @REM or publish the source code of this program in any form. You
- @REM may incorporate this code in object form in derivative works
- @REM provided such derivative works are (i.) are designed and
- @REM intended to work solely with Autodesk, Inc. products, and
- @REM (ii.) contain Autodesk's copyright notice "(C) Copyright
- @REM 1988-1994 by Autodesk, Inc."
- @REM
- @REM AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
- @REM AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF MER-
- @REM CHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
- @REM DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
- @REM UNINTERRUPTED OR ERROR FREE.
- @REM
- echo off
- if "%ACCOMPILER%"=="" echo Warning ACCOMPILER flag is not set, VC1 is used.
- if "%ACCOMPILER%"=="" set ACCOMPILER=VC1
- set old_include=%include%
- set old_lib=%lib%
- set include=%MSVCDIR%\include;%MSVCDIR%\MFC\INCLUDE
- set lib=%MSVCDIR%\lib;%MSVCDIR%\MFC\lib
- %callnmake% /f mfcads.mak %1 %2 %3 %4 %5 %6 %7 %8 %9
- cd mfclist
- call amake.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
- cd ..
- cd mfcblank
- call amake.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
- cd ..
- set include=%old_include%
- set lib=%old_lib%
-