home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 173_01 / cle.bat < prev    next >
DOS Batch File  |  1979-12-31  |  640b  |  23 lines

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