home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_100
/
173_01
/
cde.bat
< prev
next >
Wrap
DOS Batch File
|
1979-12-31
|
640b
|
23 lines
echo off
echo LATTICE: Large memory & Large Code model
if exist %1 goto syntax
\lc\lc1 >%1.err -ml -n -i\lc\ -i\lc\d\ %1.c
if errorlevel 1 goto err1
echo LATTICE: Phase 1 processing complete for %1
del %1.err
\lc\lc2 -k80286 %1
goto quit
:err1
echo LATTICE: Errors detected in %1
echo Merging errors into %1.C source file
errmerge %1
del %1.err
goto quit
:syntax
echo LATTICE: A file EXIST error for %1
echo Rerun without file extent.
:quit
%1
del %1.err
goto quit
:synt