home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
355_03
/
slk3.exe
/
TEST
/
SPPTEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-06-09
|
10KB
|
255 lines
rem Apply SPP and SPPDB to all .c files in \spp, and compare.
rem
rem source: spptest.bat
rem version: February 14, 1989
set INCLUDE=c:\include\turboc
REM
REM sys.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\sys.c out\x3 >out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
spp out\x3 out\x1.c -d MICRO_SOFT -s c:\include\msc -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d MICRO_SOFT -s c:\include\msc -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
cl /c /AL /DMICRO_SOFT /Ic:\include\msc /I\spp /I\sherlock /Foout\mt.obj out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM
REM spp.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\spp.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM glb.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\glb.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM tok.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\tok.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM dir.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\dir.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM def.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\def.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM mst.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\mst.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM res.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\res.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM st.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\st.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM par.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\par.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM dcl.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\dcl.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM exp.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\exp.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM sem.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\sem.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM mem.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\mem.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM str.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\str.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM pr.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\pr.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
REM
REM utl.c
REM
del out\x1.c
del out\x2.c
del out\x3
del out\x4
sdel \sherlock\spp\utl.c out\x3 >>out\spptest.out
spp out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sppdb out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
sdif -b out\x1.c out\x2.c >>out\spptest.out
tcc -oout\t -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
sdel out\x2.c out\x4 >>out\spptest.out
sdif -b out\x3 out\x4 >>out\spptest.out
del out\x1.c
del out\x2.c
del out\x3
del out\x4
rem
set INCLUDE=
REM