home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / ckc072.zip / ckdcc.cli < prev    next >
Text File  |  1988-08-16  |  870b  |  33 lines

  1. comment
  2. comment This CLI macro compiles Kermit source.
  3. comment
  4. comment %1%.ob      is        the object module
  5. comment %1%.er      is        the error and status file
  6. comment %1%.ls      is        the compiler listing if /ls was used
  7. comment
  8. comment Note that UXIII, DEBUG, and TLOG are all defined.  Alter this to
  9. comment suit you taste, but keep the UXIII define.
  10. comment Note that /EXTL is used to force externals to be defined.
  11. comment
  12.  
  13. comment
  14. comment Delete garbage from the last run.
  15. comment
  16. delete/1=warn/2=warn %1%.<er ob>
  17. [!neq %/ls%x,x]
  18.    delete/1=ignore/2=ignore %1%.ls
  19. [!end]
  20.  
  21. comment
  22. comment Perform the compile.
  23. comment
  24. [!eq %/%x,x]
  25. wr Now doing %1%
  26. [!else]
  27. wr Now doing %1% with compiler options %/%
  28. [!end]
  29. [!neq %2%x,x]
  30. wr Symbols defined: %2-%
  31. [!end]
  32. CC/EXTL/E==%1%.ER%/% %1% UXIII/DEFINE DEBUG/DEFINE TLOG/DEFINE %2-%
  33.