home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / pascal / tplib21.zip / INSTALL.EXE / COMPILE.BAT next >
DOS Batch File  |  1993-06-24  |  1KB  |  50 lines

  1. ECHO OFF
  2. CLS
  3. ECHO TURBO PASCAL LIBRARY
  4. ECHO Version 2.1, June 1993
  5. ECHO.
  6. ECHO This batch file will compile all the units that comprise the library.
  7. ECHO The command-line version of Turbo Pascal (TPC) must either be in the
  8. ECHO current directory or on your DOS path.
  9. ECHO.
  10. ECHO It is also assumed that you are logged on to the sub-directory into
  11. ECHO which you have extracted all the OBJ and PAS source files.
  12. ECHO.
  13. ECHO Press Ctrl-Break if you need to make changes before compilation.
  14. PAUSE
  15. ECHO Compiling library...
  16. TPC STRINGS /$D-
  17. IF ERRORLEVEL=1 GOTO ERROR
  18. TPC MATH /$D-
  19. IF ERRORLEVEL=1 GOTO ERROR
  20. TPC MATH87 /$D-
  21. IF ERRORLEVEL=1 GOTO ERROR
  22. TPC TIME /$D-
  23. IF ERRORLEVEL=1 GOTO ERROR
  24. TPC STDERR /$D-
  25. IF ERRORLEVEL=1 GOTO ERROR
  26. TPC CRTCLERR /$D-
  27. IF ERRORLEVEL=1 GOTO ERROR
  28. TPC ENHCON /$D-
  29. IF ERRORLEVEL=1 GOTO ERROR
  30. ECHO.
  31. ECHO Compiling help-file conversion utility...
  32. TPC HELPCONV /$D-
  33. IF ERRORLEVEL=1 GOTO ERROR
  34. ECHO.
  35. ECHO You should copy the TPU files to a sub-directory which is searched
  36. ECHO by Turbo Pascal at link time.
  37. ECHO.
  38. ECHO The file HELPCONV.EXE should be copied to your usual work directory or
  39. ECHO to a directory on the DOS path.
  40. ECHO.
  41. GOTO END
  42. :ERROR
  43. ECHO.
  44. ECHO ERROR DURING COMPILATION
  45. ECHO Please check that you are logged on to the correct directory and
  46. ECHO that you have extracted all the OBJ and PAS source files.
  47. ECHO.
  48. :END
  49.  
  50.