home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c163 / 3.ddi / SCRE_SOU.EXE / M4SCRN.BAT < prev    next >
Encoding:
DOS Batch File  |  1994-01-16  |  2.0 KB  |  46 lines

  1. ECHO OFF
  2. ECHO :  This File Rebuilds the Microsoft C Library   W4.LIB
  3. ECHO :  During this process files 'W4.LIB' and 'OUT' are erased.
  4. ECHO :
  5. ECHO :  Warning:  Install CodeBase 4.2 & 4.5 before running this batch file.
  6. ECHO :  Press Ctrl C or Break to abort.
  7. ECHO :
  8. ECHO :  If you are using MSC 5.1, use command file 'm4scrn5.bat' instead.
  9. ECHO :
  10. ECHO :  The compile is broken into sections because if everything is
  11. ECHO :  compiled at once, MSC 6.0 returns an 'out of memory' error
  12. ECHO :  half way through.
  13. ECHO :
  14. ECHO :  Note that the library is being built using the '-Gs' and 'Gr'
  15. ECHO :  compile switches.  This is done to make the library smaller
  16. ECHO :  and faster.  Consequently, the compilations of your application
  17. ECHO :  programs need to use these switches too.
  18. ECHO :
  19. ECHO :  This compilation does produce some warning messages under
  20. ECHO :  MSC 6.0.  Some of the warnings refer to unused parameters.
  21. ECHO :  In these cases, the parameters are used in other compile options.
  22. ECHO :  Other warnings refer to completely valid and safe code.  They
  23. ECHO :  can be safely ignored.
  24. ECHO ON
  25. PAUSE
  26. erase  out
  27. erase  w4.lib
  28. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC C4_F.C  >out
  29. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC G4.C  >out
  30. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC G4CHAR.C  >>out
  31. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC G4FIELD2.C >>out
  32. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC G4MENU.C  >>out
  33. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC H4.C  >>out
  34. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC H4MOVE.C  >>out
  35. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC H4FIRST.C  >>out
  36. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC N4.C  >>out
  37. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC N4MESSAG.C  >>out
  38. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC P4MISC.C  >>out
  39. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC U4ERROR.C  >>out
  40. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC U4FILE.C  >>out
  41. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC U4NAME_F.C  >>out
  42. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC U4UPGRAD.C >>out
  43. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC W4.C  >>out
  44. cl %1 %2 %3 %4 -c -W3 -Zl -AL -DMSC W4INIT_U.C  >>out
  45. lib    @w4
  46.