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

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