home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
pascal
/
tplib21.zip
/
INSTALL.EXE
/
COMPILE.BAT
next >
Wrap
DOS Batch File
|
1993-06-24
|
1KB
|
50 lines
ECHO OFF
CLS
ECHO TURBO PASCAL LIBRARY
ECHO Version 2.1, June 1993
ECHO.
ECHO This batch file will compile all the units that comprise the library.
ECHO The command-line version of Turbo Pascal (TPC) must either be in the
ECHO current directory or on your DOS path.
ECHO.
ECHO It is also assumed that you are logged on to the sub-directory into
ECHO which you have extracted all the OBJ and PAS source files.
ECHO.
ECHO Press Ctrl-Break if you need to make changes before compilation.
PAUSE
ECHO Compiling library...
TPC STRINGS /$D-
IF ERRORLEVEL=1 GOTO ERROR
TPC MATH /$D-
IF ERRORLEVEL=1 GOTO ERROR
TPC MATH87 /$D-
IF ERRORLEVEL=1 GOTO ERROR
TPC TIME /$D-
IF ERRORLEVEL=1 GOTO ERROR
TPC STDERR /$D-
IF ERRORLEVEL=1 GOTO ERROR
TPC CRTCLERR /$D-
IF ERRORLEVEL=1 GOTO ERROR
TPC ENHCON /$D-
IF ERRORLEVEL=1 GOTO ERROR
ECHO.
ECHO Compiling help-file conversion utility...
TPC HELPCONV /$D-
IF ERRORLEVEL=1 GOTO ERROR
ECHO.
ECHO You should copy the TPU files to a sub-directory which is searched
ECHO by Turbo Pascal at link time.
ECHO.
ECHO The file HELPCONV.EXE should be copied to your usual work directory or
ECHO to a directory on the DOS path.
ECHO.
GOTO END
:ERROR
ECHO.
ECHO ERROR DURING COMPILATION
ECHO Please check that you are logged on to the correct directory and
ECHO that you have extracted all the OBJ and PAS source files.
ECHO.
:END