@echo off
rem
rem This batch file builds all of the example programs in this
rem directory using the 32-bit Microsoft C/C++ compiler.  The
rem programs are built DosStyle.  The batch file assumes that
rem Microsoft C compiler and the Phar Lap tools are in the path.
rem Also the Microsoft environment variables INCLUDE and LIB
rem must be properly set.
rem

cl -c ccmain.c
386asm ctrlc.asm -include ..\..\include\ -nolist -twocase -def __MSC32__
386link @msvc32.dos ctrlc ccmain
386asm criterr -include ..\..\include\ -nolist -twocase
386link @asm386.dos criterr 
386asm err387 -include ..\..\include\ -nolist -twocase
386link @asm386.dos err387 
386asm ichain -include ..\..\include\ -nolist -twocase
386link @asm386.dos ichain -sym 
386asm serio -include ..\..\include\ -nolist -twocase
386link @asm386.dos serio -sym  -offset 1000h -minreal 100h -maxreal 100h
