Listing 5 A batch file for building TERM286.C with Borland C++

rem MAKE-B.BAT
rem
rem This batch file will build TERM286.C using the Phar Lap 286 DOS
rem Extender and Borland C++. It builds the DLL first, then the
rem executable file for TERM286.EXE
rem
bcc -c real_isr.c
echo ; REAL_ISR.DEF -- linker module description file >  real_isr.def
echo LIBRARY REAL_ISR                                 >> real_isr.def
echo DESCRIPTION 'REAL ISR FOR 8250 W/PHAR LAP 286'   >> real_isr.def
echo EXPORTS                                          >> real_isr.def
echo      _real_isr                                   >> real_isr.def
echo      _Port                                       >> real_isr.def
tlink /nod real_isr,real_isr.dll,,,real_isr.def
bcc286 -markreal real_isr.dll
implib real_isr.lib real_isr.def
bcc286 term286.c real_isr.lib