home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l350 / 2.ddi / BIN / WATCC.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-01-28  |  455 b   |  17 lines

  1. @echo off
  2. rem Compile a source file with the Watcom C/386 compiler
  3. rem    %1    Name of .C file, without an extension
  4. rem    %2-%9    Any additional compiler switches
  5. rem Set INCLUDE variable as appropriate for your installation
  6.  
  7. if x%1==x goto usage
  8. set saveinc=%include%
  9. set include=c:\wc386\h;c:\phar386\include
  10. wcc386p %2 %3 %4 %5 %6 %7 %8 %9 %1.c
  11. set include=%saveinc%
  12. set saveinc=
  13. goto exit
  14. :usage
  15. echo Usage:  watcc sourcefile [switches]
  16. :exit
  17.