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

wcc386p /d2 /3s /of easybug.c
womp /fp easybug.obj
386link @hc386.dos easybug -fullsym

wcc386p /d2 /3s /of kaboom1.c
womp /fp kaboom1.obj
wcc386p /d2 /3s /of kab2bug.c
womp /fp kab2bug.obj
386link @hc386.dos kaboom1 kab2bug -exe kaboobug -fullsym

wcc386p /d2 /3s /of kaboom1.c
womp /fp kaboom1.obj
wcc386p /d2 /3s /of kaboom2.c
womp /fp kaboom2.obj
386link @hc386.dos kaboom1 kaboom2 -exe kaboom -fullsym
