home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c410 / 1.ddi / LEXEXE / CSE.BAT < prev    next >
Encoding:
DOS Batch File  |  1980-01-01  |  640 b   |  24 lines

  1. echo off
  2. echo LATTICE: Small memory model
  3. if exist %1 goto syntax
  4. \lc\lc1 >%1.err  -mS -n -i\lc\ -i\lc\s\ %1.c
  5. if errorlevel 1 goto err1
  6. echo LATTICE: Phase 1 processing complete for %1
  7. del %1.err
  8. \lc\lc2 -y -k8086 %1
  9. goto quit
  10. :err1
  11. echo LATTICE: Errors detected in %1
  12. echo          Merging errors into %1.C source file
  13. errmerge %1
  14. del %1.err
  15. goto quit
  16. :syntax
  17. echo LATTICE: A file EXIST error for %1
  18. echo          Rerun without file extent.
  19. :quit
  20.  %1
  21. del %1.err
  22. goto quit
  23. :syntax
  24. echo L