home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mskermit / msvwng.bat < prev    next >
DOS Batch File  |  2020-01-01  |  1KB  |  37 lines

  1. echo off
  2. echo Constructing Kermit-MS version 2.31 for WANG (Advanced) Professional Computers
  3. Break on
  4. Rem  Assumes all files are on the current disk.
  5. Rem  If there is insufficient disk space then the command
  6. Rem  "masm filespec.asm;"
  7. Rem  may be typed individually for each .asm file.
  8. Rem  Note: files MSSDEF.H and MSVWNG.LNK must be in the current directory for
  9. Rem  use by masm and link, respectively.
  10.  
  11. Rem  First, the system independent .asm files: msscmd, msscom, mssfil, mssker,
  12. Rem  mssrcv, mssscp, msssen, mssser, mssset, msster, mssfin
  13. if not exist mssdef.h goto noheader
  14. echo Make an .OBJ file from each .ASM file.
  15. for %%f in (msscmd, msscom, mssfil, mssker, mssrcv, mssscp) do masm %%f;
  16. for %%f in (msssen, mssser, mssset, msster, mssfin) do masm %%f;
  17.  
  18. Rem Second, the system dependent files: msxwng
  19. for %%f in (msxwng) do masm %%f;
  20. echo End of Assembly step.
  21.  
  22. Rem  Third, link the Object files, using the appropriate command file.
  23. echo Starting Link step.
  24. link @msvwng.lnk
  25. if errorlevel 1 goto badlink
  26. echo File MSVWNG.EXE is built.
  27. goto done
  28. :noheader
  29. echo ERROR - File MSSDEF.H is needed but could not be found.
  30. goto done
  31. :badlink
  32. echo LINKING ERROR.
  33. :done
  34. echo on
  35. echo on
  36.  
  37.