home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 v2.4 Fix / W95-v2.4fix.iso / ACADWIN / ADS / CPP / MFCADS / AMAKE.BAT next >
Encoding:
DOS Batch File  |  1995-02-08  |  1.5 KB  |  39 lines

  1. @REM 
  2. @REM  AMAKE.BAT -
  3. @REM      
  4. @REM    batch file to make ADS\CPP\MFCADS OBJs and MFC ADS samples
  5. @REM 
  6. @REM    (C) Copyright 1988-1994 by Autodesk, Inc.
  7. @REM 
  8. @REM    This program is copyrighted by Autodesk, Inc. and is  licensed
  9. @REM    to you under the following conditions.  You may not distribute
  10. @REM    or  publish the source code of this program in any form.   You
  11. @REM    may  incorporate this code in object form in derivative  works
  12. @REM    provided  such  derivative  works  are  (i.) are  designed and
  13. @REM    intended  to  work  solely  with  Autodesk, Inc. products, and
  14. @REM    (ii.)  contain  Autodesk's  copyright  notice  "(C)  Copyright
  15. @REM    1988-1994 by Autodesk, Inc."
  16. @REM 
  17. @REM    AUTODESK  PROVIDES THIS PROGRAM "AS IS" AND WITH  ALL  FAULTS.
  18. @REM    AUTODESK  SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF  MER-
  19. @REM    CHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK,  INC.
  20. @REM    DOES  NOT  WARRANT THAT THE OPERATION OF THE PROGRAM  WILL  BE
  21. @REM    UNINTERRUPTED OR ERROR FREE.
  22. @REM 
  23. echo off
  24. if "%ACCOMPILER%"=="" echo Warning ACCOMPILER flag is not set, VC1 is used.
  25. if "%ACCOMPILER%"=="" set ACCOMPILER=VC1
  26. set old_include=%include%
  27. set old_lib=%lib%
  28. set include=%MSVCDIR%\include;%MSVCDIR%\MFC\INCLUDE
  29. set lib=%MSVCDIR%\lib;%MSVCDIR%\MFC\lib
  30. %callnmake% /f mfcads.mak %1 %2 %3 %4 %5 %6 %7 %8 %9
  31. cd mfclist
  32. call amake.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
  33. cd ..
  34. cd mfcblank
  35. call amake.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
  36. cd ..
  37. set include=%old_include%
  38. set lib=%old_lib%
  39.