home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / editor / tvx_edit.arc / TVX_MAKE.BAT < prev    next >
DOS Batch File  |  1986-03-17  |  2KB  |  69 lines

  1. REM This is the batch file needed to compile and link the basic 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     Once the basic TVX has been made, the other make batch files
  5. REM     should be used to compile the appropriate modules for
  6. REM    the other emulation versions if desired.
  7. REM    This batch file assumes stdio.h is in a directory called \c\.
  8. REM
  9. cc1 tvx_1 -hc:\c\
  10. cc2 tvx_1
  11. cc3 tvx_1
  12. cc4 tvx_1
  13. cc1 tvx_2 -hc:\c\
  14. cc2 tvx_2
  15. cc3 tvx_2
  16. cc4 tvx_2
  17. cc1 tvx_edit -hc:\c\
  18. cc2 tvx_edit
  19. cc3 tvx_edit
  20. cc4 tvx_edit
  21. cc1 tvx_lex -hc:\c\
  22. cc2 tvx_lex
  23. cc3 tvx_lex
  24. cc4 tvx_lex
  25. cc1 tvx_io -hc:\c\
  26. cc2 tvx_io
  27. cc3 tvx_io
  28. cc4 tvx_io
  29. cc1 tvx_lib -hc:\c\
  30. cc2 tvx_lib
  31. cc3 tvx_lib
  32. cc4 tvx_lib
  33. REM
  34. REM If you have in any way modified TVX_IBM.C, then it needs to be recompiled.
  35. REM
  36. REM cc1 tvx_ibm -hc:\c\
  37. REM cc2 tvx_ibm
  38. REM cc3 tvx_ibm
  39. REM cc4 tvx_ibm
  40. REM
  41. REM Otherwise, use the following hand optimized version.  Some of the expensive
  42. REM calls to sysint have been replaced with direct calls.  It is much faster
  43. REM than the C version, and is the only case I've ever found that this is true.
  44. REM
  45. masm tvx_ibm;
  46. REM
  47. REM    Now, link the thing into a file called TVX.EXE
  48. REM    It uses the CII small, DOS 2 library, which is called /c/cslib2
  49. REM    on my system.  You may need to replace the library with whatever
  50. REM    you call the corresponding library (like c86s2s.lib).
  51. REM
  52. link tvx_1+tvx_2+tvx_edit+tvx_lex+tvx_io+tvx_lib+tvx_ibm,tvx,nul:,/c/cslib2
  53. REM
  54. REM    Build the patch / configuration utilities
  55. REM
  56. cc1 tvx_cfg -hc:\c\
  57. cc2 tvx_cfg
  58. cc3 tvx_cfg
  59. cc4 tvx_cfg
  60. link tvx_cfg,tvx_cfg,nul:,/c/cslib2
  61. cc1 tvx_ptch -hc:\c\
  62. cc2 tvx_ptch
  63. cc3 tvx_ptch
  64. cc4 tvx_ptch
  65. link tvx_ptch,tvx_ptch,nul:,/c/cslib2
  66. REM
  67. REM    Build of tvx finished
  68. REM
  69.