home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / inole2 / classlib / makeall.bat < prev    next >
DOS Batch File  |  1995-05-03  |  731b  |  39 lines

  1. @echo off
  2.  
  3. nmake /NOLOGO clean
  4.  
  5. if not "%CLEAN%" == "" goto :Contin
  6.  
  7. if "%SDI%" == "1" goto SDI
  8.  
  9. set SDI=
  10. echo Building MDI CLASSLIB > err
  11. nmake /I /NOLOGO >> err
  12. if exist classmdi.lib copy classmdi.lib ..\lib
  13.  
  14. goto Contin
  15.  
  16. :SDI
  17.  
  18. SET SDI=1
  19. echo Building SDI CLASSLIB > err
  20. nmake /I /NOLOGO >> err
  21. if exist classsdi.lib copy classsdi.lib ..\lib
  22.  
  23. SET SDI=
  24.  
  25. :Contin
  26. if exist err type err >> ..\build\err
  27.  
  28. echo. >> ..\build\err
  29. echo ****************************************** >> ..\build\err
  30. echo. >> ..\build\err
  31.  
  32. if not "%CLEAN%" == "" goto :NoCopy
  33. if exist classlib.h copy classlib.h ..\inc
  34. if exist classres.h copy classres.h ..\inc
  35.  
  36. :NoCopy
  37.  
  38. call ..\mksamp1 skel "CLASSLIB_Skeleton" skel.exe
  39.