home *** CD-ROM | disk | FTP | other *** search
- :
- # name: ccllib.ksh
- # purpose: Compile large model program no link
- #
- if [ ! -f $1.c ]
- then
- echo "Usage: $0 csource"
- echo "The csource must exist in this directory"
- echo "You must not define a file extension (.c)"
- exit 1
- fi
- rm -f $1.exe
- rm -f $1.lst
- rm -f $1.map
- export INCLUDE="D:\INCLUDE;D:\INCLUDE\SYS;"
- export LIB="D:\LIB"
- export TMP="D:\TMP"
- cl -c -AL -Fs -W2 $1.c
- exit 0