home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 004.lha / Dpaintx_source / make < prev    next >
Encoding:
Text File  |  1986-03-02  |  518 b   |  20 lines

  1. .Key file,opt1,opt2,opt3
  2. ;           Compile a C program                       Version 3.00
  3. ;           Works with Lattice version 3.02 and above
  4. if not exists <file$t1>.c
  5.    echo "File <file$t1>.c does not exist.  Try again."
  6.    skip END
  7.    endif
  8. echo "-- compiling...<file$t1>.c"
  9.  
  10. C-DEVEL:c/lc1 <opt1> <opt2> <opt3> -iIFF_Workbench: -iC-DEVEL:include/ -iC-DEVEL:include/lattice/ <file$t1>
  11. if not exists "<file$t1>.q"
  12.    echo "Compile failed."
  13.    quit 20
  14.    endif
  15. C-DEVEL:c/lc2 <file$t1>
  16.  
  17. echo "NOT LINKED!"
  18. LAB END
  19.  
  20.