home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / e4dv203.zip / COMPILE.DOC < prev    next >
Text File  |  1994-09-12  |  1KB  |  41 lines

  1. *****************************************************************
  2. E4(tm) Editor Package - COMPILE
  3. Copyright (C) N.Faulks 1993. All Rights Reserved.
  4. *****************************************************************
  5. 6th June 1993
  6. *****************************************************************
  7.  
  8. COMPILE is a general pupose compiler control program. Given the 
  9. name of a source file to compile it selects and executes the 
  10. correct compiler for that file.
  11.  
  12. Its operation is controlled by the file COMPILE.CL, which lists 
  13. what compilers are to be applied to what kinds of files. Entries 
  14. take the form
  15.  
  16. <file spec>
  17.     <command>
  18.     <command>
  19.     ...
  20.  
  21. For example to compile .C files using BCC you might use the entry
  22.  
  23. *.C
  24.     BCC -V $f
  25.  
  26. $f refers to the full filename given on the command line. Other 
  27. placeholders are available and are listed in the sample 
  28. COMPILE.CL file.
  29.  
  30. Multiple commands allow you to, for example, Assemble and Link:
  31.  
  32. *.ASM
  33.     MASM $f;
  34.     LINK $p$n.obj;
  35.  
  36. The COMPILE.CL file may be placed in the current directory, in a 
  37. directory on listed in E4PATH, or in the editor directory (when 
  38. executed directly by E4).
  39.  
  40. Refer to the supplied COMPILE.CL file for more examples.
  41.