home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 178_01 / tvx_make.bat < prev    next >
DOS Batch File  |  1986-01-17  |  2KB  |  90 lines

  1. REM This is the batch file needed to compile and line TVX using
  2. REM Computer Innovations C-86 compiler.  If you have a different
  3. REM compiler, you will have to make your own batch file.
  4. REM    This batch file assumes stdio.h is in a directory called \c\.
  5. REM
  6. p1 tvx_1 -hc:\c86\
  7. if errorlevel 1 goto error
  8. p2 tvx_1
  9. if errorlevel 1 goto error
  10. p3 tvx_1
  11. if errorlevel 1 goto error
  12. p4 tvx_1
  13. if errorlevel 1 goto error
  14. p1 tvx_2 -hc:\c86\
  15. if errorlevel 1 goto error
  16. p2 tvx_2
  17. if errorlevel 1 goto error
  18. p3 tvx_2
  19. if errorlevel 1 goto error
  20. p4 tvx_2
  21. if errorlevel 1 goto error
  22. p1 tvx_lex -hc:\c86\
  23. if errorlevel 1 goto error
  24. p2 tvx_lex
  25. if errorlevel 1 goto error
  26. p3 tvx_lex
  27. if errorlevel 1 goto error
  28. p4 tvx_lex
  29. if errorlevel 1 goto error
  30. p1 tvx_io -hc:\c86\
  31. if errorlevel 1 goto error
  32. p2 tvx_io
  33. if errorlevel 1 goto error
  34. p3 tvx_io
  35. if errorlevel 1 goto error
  36. p4 tvx_io
  37. if errorlevel 1 goto error
  38. p1 tvx_lib -hc:\c86\
  39. if errorlevel 1 goto error
  40. p2 tvx_lib
  41. if errorlevel 1 goto error
  42. p3 tvx_lib
  43. if errorlevel 1 goto error
  44. p4 tvx_lib
  45. if errorlevel 1 goto error
  46. p1 tvx_ibm -hc:\c86\
  47. if errorlevel 1 goto error
  48. p2 tvx_ibm
  49. if errorlevel 1 goto error
  50. p3 tvx_ibm
  51. if errorlevel 1 goto error
  52. p4 tvx_ibm
  53. if errorlevel 1 goto error
  54. REM
  55. REM    Now, link the thing into a file called TVX.EXE
  56. REM    It uses the CII small, DOS 2 library, which is called /c/cslib2
  57. REM    on my system.  You may need to replace the library with whatever
  58. REM    you call the corresponding library (like c86s2s.lib).
  59. REM
  60. link tvx_1+tvx_2+tvx_lex+tvx_io+tvx_lib+tvx_ibm,tvx,TVX_MAP,\c86\c86s2s
  61. if errorlevel 1 goto error
  62. REM
  63. REM    Build the patch / configuration utilities
  64. REM
  65. p1 tvx_cfg -hc:\c86\
  66. if errorlevel 1 goto error
  67. p2 tvx_cfg
  68. if errorlevel 1 goto error
  69. p3 tvx_cfg
  70. if errorlevel 1 goto error
  71. p4 tvx_cfg
  72. if errorlevel 1 goto error
  73. link tvx_cfg,tvx_cfg,TVX_MAP1,\c86\c86s2s
  74. if errorlevel 1 goto error
  75. p1 tvx_ptch -hc:\c86\
  76. if errorlevel 1 goto error
  77. p2 tvx_ptch
  78. if errorlevel 1 goto error
  79. p3 tvx_ptch
  80. if errorlevel 1 goto error
  81. p4 tvx_ptch
  82. if errorlevel 1 goto error
  83. link tvx_ptch,tvx_ptch,TVX_MAP2,\c86\c86s2s
  84. if errorlevel 1 goto error
  85. REM
  86. REM    Build of tvx finished
  87. REM
  88. :error
  89. echo 
  90.