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 >
DOS Batch File  |  1991-06-09  |  10KB  |  255 lines

  1. rem Apply SPP and SPPDB to all .c files in \spp, and compare.
  2. rem
  3. rem source:  spptest.bat
  4. rem version: February 14, 1989
  5. set INCLUDE=c:\include\turboc
  6. REM
  7. REM sys.c
  8. REM
  9. del out\x1.c
  10. del out\x2.c
  11. del out\x3
  12. del out\x4
  13. sdel   \sherlock\spp\sys.c out\x3 >out\spptest.out
  14. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  15. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  16. sdif -b out\x1.c out\x2.c >>out\spptest.out
  17. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  18. spp    out\x3 out\x1.c -d MICRO_SOFT -s c:\include\msc -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  19. sppdb  out\x3 out\x2.c -d MICRO_SOFT -s c:\include\msc -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  20. cl /c /AL /DMICRO_SOFT /Ic:\include\msc /I\spp /I\sherlock /Foout\mt.obj out\x2.c >>out\spptest.out
  21. sdel   out\x2.c out\x4   >>out\spptest.out
  22. sdif -b out\x3  out\x4   >>out\spptest.out
  23. REM
  24. REM
  25. REM spp.c
  26. REM
  27. del out\x1.c
  28. del out\x2.c
  29. del out\x3
  30. del out\x4
  31. sdel   \sherlock\spp\spp.c out\x3 >>out\spptest.out
  32. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  33. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  34. sdif -b out\x1.c out\x2.c >>out\spptest.out
  35. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  36. sdel   out\x2.c out\x4   >>out\spptest.out
  37. sdif -b out\x3  out\x4   >>out\spptest.out
  38. REM
  39. REM glb.c
  40. REM
  41. del out\x1.c
  42. del out\x2.c
  43. del out\x3
  44. del out\x4
  45. sdel   \sherlock\spp\glb.c out\x3 >>out\spptest.out
  46. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  47. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  48. sdif -b out\x1.c out\x2.c >>out\spptest.out
  49. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  50. sdel   out\x2.c out\x4   >>out\spptest.out
  51. sdif -b out\x3  out\x4   >>out\spptest.out
  52. REM
  53. REM tok.c
  54. REM
  55. del out\x1.c
  56. del out\x2.c
  57. del out\x3
  58. del out\x4
  59. sdel   \sherlock\spp\tok.c out\x3 >>out\spptest.out
  60. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  61. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  62. sdif -b out\x1.c out\x2.c >>out\spptest.out
  63. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  64. sdel   out\x2.c out\x4   >>out\spptest.out
  65. sdif -b out\x3  out\x4   >>out\spptest.out
  66. REM
  67. REM dir.c
  68. REM
  69. del out\x1.c
  70. del out\x2.c
  71. del out\x3
  72. del out\x4
  73. sdel   \sherlock\spp\dir.c out\x3 >>out\spptest.out
  74. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  75. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  76. sdif -b out\x1.c out\x2.c >>out\spptest.out
  77. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  78. sdel   out\x2.c out\x4   >>out\spptest.out
  79. sdif -b out\x3  out\x4   >>out\spptest.out
  80. REM
  81. REM def.c
  82. REM
  83. del out\x1.c
  84. del out\x2.c
  85. del out\x3
  86. del out\x4
  87. sdel   \sherlock\spp\def.c out\x3 >>out\spptest.out
  88. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  89. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  90. sdif -b out\x1.c out\x2.c >>out\spptest.out
  91. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  92. sdel   out\x2.c out\x4   >>out\spptest.out
  93. sdif -b out\x3  out\x4   >>out\spptest.out
  94. REM
  95. REM mst.c
  96. REM
  97. del out\x1.c
  98. del out\x2.c
  99. del out\x3
  100. del out\x4
  101. sdel   \sherlock\spp\mst.c out\x3 >>out\spptest.out
  102. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  103. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  104. sdif -b out\x1.c out\x2.c >>out\spptest.out
  105. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  106. sdel   out\x2.c out\x4   >>out\spptest.out
  107. sdif -b out\x3  out\x4   >>out\spptest.out
  108. REM
  109. REM res.c
  110. REM
  111. del out\x1.c
  112. del out\x2.c
  113. del out\x3
  114. del out\x4
  115. sdel   \sherlock\spp\res.c out\x3 >>out\spptest.out
  116. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  117. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  118. sdif -b out\x1.c out\x2.c >>out\spptest.out
  119. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  120. sdel   out\x2.c out\x4   >>out\spptest.out
  121. sdif -b out\x3  out\x4   >>out\spptest.out
  122. REM
  123. REM st.c
  124. REM
  125. del out\x1.c
  126. del out\x2.c
  127. del out\x3
  128. del out\x4
  129. sdel   \sherlock\spp\st.c out\x3 >>out\spptest.out
  130. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  131. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  132. sdif -b out\x1.c out\x2.c >>out\spptest.out
  133. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  134. sdel   out\x2.c out\x4   >>out\spptest.out
  135. sdif -b out\x3  out\x4   >>out\spptest.out
  136. REM
  137. REM par.c
  138. REM
  139. del out\x1.c
  140. del out\x2.c
  141. del out\x3
  142. del out\x4
  143. sdel   \sherlock\spp\par.c out\x3 >>out\spptest.out
  144. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  145. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  146. sdif -b out\x1.c out\x2.c >>out\spptest.out
  147. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  148. sdel   out\x2.c out\x4   >>out\spptest.out
  149. sdif -b out\x3  out\x4   >>out\spptest.out
  150. REM
  151. REM dcl.c
  152. REM
  153. del out\x1.c
  154. del out\x2.c
  155. del out\x3
  156. del out\x4
  157. sdel   \sherlock\spp\dcl.c out\x3 >>out\spptest.out
  158. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  159. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  160. sdif -b out\x1.c out\x2.c >>out\spptest.out
  161. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  162. sdel   out\x2.c out\x4   >>out\spptest.out
  163. sdif -b out\x3  out\x4   >>out\spptest.out
  164. REM
  165. REM exp.c
  166. REM
  167. del out\x1.c
  168. del out\x2.c
  169. del out\x3
  170. del out\x4
  171. sdel   \sherlock\spp\exp.c out\x3 >>out\spptest.out
  172. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  173. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  174. sdif -b out\x1.c out\x2.c >>out\spptest.out
  175. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  176. sdel   out\x2.c out\x4   >>out\spptest.out
  177. sdif -b out\x3  out\x4   >>out\spptest.out
  178. REM
  179. REM sem.c
  180. REM
  181. del out\x1.c
  182. del out\x2.c
  183. del out\x3
  184. del out\x4
  185. sdel   \sherlock\spp\sem.c out\x3 >>out\spptest.out
  186. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  187. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  188. sdif -b out\x1.c out\x2.c >>out\spptest.out
  189. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  190. sdel   out\x2.c out\x4   >>out\spptest.out
  191. sdif -b out\x3  out\x4   >>out\spptest.out
  192. REM
  193. REM mem.c
  194. REM
  195. del out\x1.c
  196. del out\x2.c
  197. del out\x3
  198. del out\x4
  199. sdel   \sherlock\spp\mem.c out\x3 >>out\spptest.out
  200. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  201. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  202. sdif -b out\x1.c out\x2.c >>out\spptest.out
  203. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  204. sdel   out\x2.c out\x4   >>out\spptest.out
  205. sdif -b out\x3  out\x4   >>out\spptest.out
  206. REM
  207. REM str.c
  208. REM
  209. del out\x1.c
  210. del out\x2.c
  211. del out\x3
  212. del out\x4
  213. sdel   \sherlock\spp\str.c out\x3 >>out\spptest.out
  214. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  215. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  216. sdif -b out\x1.c out\x2.c >>out\spptest.out
  217. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  218. sdel   out\x2.c out\x4   >>out\spptest.out
  219. sdif -b out\x3  out\x4   >>out\spptest.out
  220. REM
  221. REM pr.c
  222. REM
  223. del out\x1.c
  224. del out\x2.c
  225. del out\x3
  226. del out\x4
  227. sdel   \sherlock\spp\pr.c out\x3 >>out\spptest.out
  228. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  229. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  230. sdif -b out\x1.c out\x2.c >>out\spptest.out
  231. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  232. sdel   out\x2.c out\x4   >>out\spptest.out
  233. sdif -b out\x3  out\x4   >>out\spptest.out
  234. REM
  235. REM utl.c
  236. REM
  237. del out\x1.c
  238. del out\x2.c
  239. del out\x3
  240. del out\x4
  241. sdel   \sherlock\spp\utl.c out\x3 >>out\spptest.out
  242. spp    out\x3 out\x1.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  243. sppdb  out\x3 out\x2.c -d TURBOC -s c:\sherlock\spp -s c:\sherlock >>out\spptest.out
  244. sdif -b out\x1.c out\x2.c >>out\spptest.out
  245. tcc -oout\t  -mh -c -C -DTURBOC -Ic:\include\turboc -Ic:\sherlock -Ic:\sherlock\spp out\x2.c >>out\spptest.out
  246. sdel   out\x2.c out\x4   >>out\spptest.out
  247. sdif -b out\x3  out\x4   >>out\spptest.out
  248. del out\x1.c
  249. del out\x2.c
  250. del out\x3
  251. del out\x4
  252. rem
  253. set INCLUDE=
  254. REM
  255.