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

  1. echo off
  2. echo Constructing Kermit-MS version 2.32 for Grid Compass II.
  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 MSTGRI.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: msugri, msxgri
  19. for %%f in (msggri, msugri, msxgri) 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 @mstgri.lnk
  25. if errorlevel 1 goto badlink
  26. echo File MSTGRI.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.