CFLAGS = -w4 -e25 -s -j -zp2 -zq -od -os -fp3 -fpi87 -5r -bt=dos -mf
CPPFLAGS = -i=..\INCLUDE\ -w4 -e25 -s -ufar -unear -uhuge -dfar= -dnear= -dhuge= -dMAXSTR=1024 -d__MSDOS__ -d__DOS32__ -dNT_CDECL -j -zp2 -zq -os -ol -om -oc -or -fp3 -fpi87 -zld -5r -bt=dos -mf -ew

project : tv.lib .SYMBOLIC

!define BLANK ""
video.obj : video.c .AUTODEPEND
 *wcc386 video.c $(CFLAGS)

colorsel.obj : colorsel.cpp .AUTODEPEND
 *wpp386 colorsel.cpp $(CPPFLAGS)

drivers.obj : drivers.cpp .AUTODEPEND
 *wpp386 drivers.cpp $(CPPFLAGS)

drivers2.obj : drivers2.cpp .AUTODEPEND
 *wpp386 drivers2.cpp $(CPPFLAGS)

edits2.obj : edits2.cpp .AUTODEPEND
 *wpp386 edits2.cpp $(CPPFLAGS)

editstat.obj : editstat.cpp .AUTODEPEND
 *wpp386 editstat.cpp $(CPPFLAGS)

frmline2.obj : frmline2.cpp .AUTODEPEND
 *wpp386 frmline2.cpp $(CPPFLAGS)

grp.obj : grp.cpp .AUTODEPEND
 *wpp386 grp.cpp $(CPPFLAGS)

help.obj : help.cpp .AUTODEPEND
 *wpp386 help.cpp $(CPPFLAGS)

helpbase.obj : helpbase.cpp .AUTODEPEND
 *wpp386 helpbase.cpp $(CPPFLAGS)

histlist.obj : histlist.cpp .AUTODEPEND
 *wpp386 histlist.cpp $(CPPFLAGS)

mapcolor.obj : mapcolor.cpp .AUTODEPEND
 *wpp386 mapcolor.cpp $(CPPFLAGS)

menu.obj : menu.cpp .AUTODEPEND
 *wpp386 menu.cpp $(CPPFLAGS)

misc.obj : misc.cpp .AUTODEPEND
 *wpp386 misc.cpp $(CPPFLAGS)

msgbox.obj : msgbox.cpp .AUTODEPEND
 *wpp386 msgbox.cpp $(CPPFLAGS)

names.obj : names.cpp .AUTODEPEND
 *wpp386 names.cpp $(CPPFLAGS)

new.obj : new.cpp .AUTODEPEND
 *wpp386 new.cpp $(CPPFLAGS)

newstr.obj : newstr.cpp .AUTODEPEND
 *wpp386 newstr.cpp $(CPPFLAGS)

os2handl.obj : os2handl.cpp .AUTODEPEND
 *wpp386 os2handl.cpp $(CPPFLAGS)

palette.obj : palette.cpp .AUTODEPEND
 *wpp386 palette.cpp $(CPPFLAGS)

sbkgrnd.obj : sbkgrnd.cpp .AUTODEPEND
 *wpp386 sbkgrnd.cpp $(CPPFLAGS)

sbutton.obj : sbutton.cpp .AUTODEPEND
 *wpp386 sbutton.cpp $(CPPFLAGS)

schdrdlg.obj : schdrdlg.cpp .AUTODEPEND
 *wpp386 schdrdlg.cpp $(CPPFLAGS)

scheckbo.obj : scheckbo.cpp .AUTODEPEND
 *wpp386 scheckbo.cpp $(CPPFLAGS)

sclrsel.obj : sclrsel.cpp .AUTODEPEND
 *wpp386 sclrsel.cpp $(CPPFLAGS)

scluster.obj : scluster.cpp .AUTODEPEND
 *wpp386 scluster.cpp $(CPPFLAGS)

sdesktop.obj : sdesktop.cpp .AUTODEPEND
 *wpp386 sdesktop.cpp $(CPPFLAGS)

sdialog.obj : sdialog.cpp .AUTODEPEND
 *wpp386 sdialog.cpp $(CPPFLAGS)

sdircoll.obj : sdircoll.cpp .AUTODEPEND
 *wpp386 sdircoll.cpp $(CPPFLAGS)

sdirlist.obj : sdirlist.cpp .AUTODEPEND
 *wpp386 sdirlist.cpp $(CPPFLAGS)

seditors.obj : seditors.cpp .AUTODEPEND
 *wpp386 seditors.cpp $(CPPFLAGS)

sfilcoll.obj : sfilcoll.cpp .AUTODEPEND
 *wpp386 sfilcoll.cpp $(CPPFLAGS)

sfildlg.obj : sfildlg.cpp .AUTODEPEND
 *wpp386 sfildlg.cpp $(CPPFLAGS)

sfilelst.obj : sfilelst.cpp .AUTODEPEND
 *wpp386 sfilelst.cpp $(CPPFLAGS)

sfinfpne.obj : sfinfpne.cpp .AUTODEPEND
 *wpp386 sfinfpne.cpp $(CPPFLAGS)

sfinputl.obj : sfinputl.cpp .AUTODEPEND
 *wpp386 sfinputl.cpp $(CPPFLAGS)

sframe.obj : sframe.cpp .AUTODEPEND
 *wpp386 sframe.cpp $(CPPFLAGS)

sgroup.obj : sgroup.cpp .AUTODEPEND
 *wpp386 sgroup.cpp $(CPPFLAGS)

shistory.obj : shistory.cpp .AUTODEPEND
 *wpp386 shistory.cpp $(CPPFLAGS)

sinputli.obj : sinputli.cpp .AUTODEPEND
 *wpp386 sinputli.cpp $(CPPFLAGS)

slabel.obj : slabel.cpp .AUTODEPEND
 *wpp386 slabel.cpp $(CPPFLAGS)

slistbox.obj : slistbox.cpp .AUTODEPEND
 *wpp386 slistbox.cpp $(CPPFLAGS)

slstview.obj : slstview.cpp .AUTODEPEND
 *wpp386 slstview.cpp $(CPPFLAGS)

smenubar.obj : smenubar.cpp .AUTODEPEND
 *wpp386 smenubar.cpp $(CPPFLAGS)

smenubox.obj : smenubox.cpp .AUTODEPEND
 *wpp386 smenubox.cpp $(CPPFLAGS)

smnuview.obj : smnuview.cpp .AUTODEPEND
 *wpp386 smnuview.cpp $(CPPFLAGS)

sparamte.obj : sparamte.cpp .AUTODEPEND
 *wpp386 sparamte.cpp $(CPPFLAGS)

sradiobu.obj : sradiobu.cpp .AUTODEPEND
 *wpp386 sradiobu.cpp $(CPPFLAGS)

srescoll.obj : srescoll.cpp .AUTODEPEND
 *wpp386 srescoll.cpp $(CPPFLAGS)

sscrlbar.obj : sscrlbar.cpp .AUTODEPEND
 *wpp386 sscrlbar.cpp $(CPPFLAGS)

sscrolle.obj : sscrolle.cpp .AUTODEPEND
 *wpp386 sscrolle.cpp $(CPPFLAGS)

sstatict.obj : sstatict.cpp .AUTODEPEND
 *wpp386 sstatict.cpp $(CPPFLAGS)

sstatusl.obj : sstatusl.cpp .AUTODEPEND
 *wpp386 sstatusl.cpp $(CPPFLAGS)

sstrcoll.obj : sstrcoll.cpp .AUTODEPEND
 *wpp386 sstrcoll.cpp $(CPPFLAGS)

sstrlst.obj : sstrlst.cpp .AUTODEPEND
 *wpp386 sstrlst.cpp $(CPPFLAGS)

stddlg.obj : stddlg.cpp .AUTODEPEND
 *wpp386 stddlg.cpp $(CPPFLAGS)

strmstat.obj : strmstat.cpp .AUTODEPEND
 *wpp386 strmstat.cpp $(CPPFLAGS)

sview.obj : sview.cpp .AUTODEPEND
 *wpp386 sview.cpp $(CPPFLAGS)

swapst2.obj : swapst2.cpp .AUTODEPEND
 *wpp386 swapst2.cpp $(CPPFLAGS)

swindow.obj : swindow.cpp .AUTODEPEND
 *wpp386 swindow.cpp $(CPPFLAGS)

syserr.obj : syserr.cpp .AUTODEPEND
 *wpp386 syserr.cpp $(CPPFLAGS)

tapplica.obj : tapplica.cpp .AUTODEPEND
 *wpp386 tapplica.cpp $(CPPFLAGS)

tbkgrnd.obj : tbkgrnd.cpp .AUTODEPEND
 *wpp386 tbkgrnd.cpp $(CPPFLAGS)

tbutton.obj : tbutton.cpp .AUTODEPEND
 *wpp386 tbutton.cpp $(CPPFLAGS)

tchdrdlg.obj : tchdrdlg.cpp .AUTODEPEND
 *wpp386 tchdrdlg.cpp $(CPPFLAGS)

tcheckbo.obj : tcheckbo.cpp .AUTODEPEND
 *wpp386 tcheckbo.cpp $(CPPFLAGS)

tcluster.obj : tcluster.cpp .AUTODEPEND
 *wpp386 tcluster.cpp $(CPPFLAGS)

tcmdset.obj : tcmdset.cpp .AUTODEPEND
 *wpp386 tcmdset.cpp $(CPPFLAGS)

tcollect.obj : tcollect.cpp .AUTODEPEND
 *wpp386 tcollect.cpp $(CPPFLAGS)

tdesktop.obj : tdesktop.cpp .AUTODEPEND
 *wpp386 tdesktop.cpp $(CPPFLAGS)

tdialog.obj : tdialog.cpp .AUTODEPEND
 *wpp386 tdialog.cpp $(CPPFLAGS)

tdircoll.obj : tdircoll.cpp .AUTODEPEND
 *wpp386 tdircoll.cpp $(CPPFLAGS)

tdirlist.obj : tdirlist.cpp .AUTODEPEND
 *wpp386 tdirlist.cpp $(CPPFLAGS)

teditor1.obj : teditor1.cpp .AUTODEPEND
 *wpp386 teditor1.cpp $(CPPFLAGS)

teditor2.obj : teditor2.cpp .AUTODEPEND
 *wpp386 teditor2.cpp $(CPPFLAGS)

teditwnd.obj : teditwnd.cpp .AUTODEPEND
 *wpp386 teditwnd.cpp $(CPPFLAGS)

tevent.obj : tevent.cpp .AUTODEPEND
 *wpp386 tevent.cpp $(CPPFLAGS)

textview.obj : textview.cpp .AUTODEPEND
 *wpp386 textview.cpp $(CPPFLAGS)

tfildlg.obj : tfildlg.cpp .AUTODEPEND
 *wpp386 tfildlg.cpp $(CPPFLAGS)

tfilecol.obj : tfilecol.cpp .AUTODEPEND
 *wpp386 tfilecol.cpp $(CPPFLAGS)

tfiledtr.obj : tfiledtr.cpp .AUTODEPEND
 *wpp386 tfiledtr.cpp $(CPPFLAGS)

tfillist.obj : tfillist.cpp .AUTODEPEND
 *wpp386 tfillist.cpp $(CPPFLAGS)

tframe.obj : tframe.cpp .AUTODEPEND
 *wpp386 tframe.cpp $(CPPFLAGS)

tgrmv2.obj : tgrmv2.cpp .AUTODEPEND
 *wpp386 tgrmv2.cpp $(CPPFLAGS)

tgroup.obj : tgroup.cpp .AUTODEPEND
 *wpp386 tgroup.cpp $(CPPFLAGS)

thistory.obj : thistory.cpp .AUTODEPEND
 *wpp386 thistory.cpp $(CPPFLAGS)

thistwin.obj : thistwin.cpp .AUTODEPEND
 *wpp386 thistwin.cpp $(CPPFLAGS)

thstview.obj : thstview.cpp .AUTODEPEND
 *wpp386 thstview.cpp $(CPPFLAGS)

tindictr.obj : tindictr.cpp .AUTODEPEND
 *wpp386 tindictr.cpp $(CPPFLAGS)

tinputli.obj : tinputli.cpp .AUTODEPEND
 *wpp386 tinputli.cpp $(CPPFLAGS)

tlabel.obj : tlabel.cpp .AUTODEPEND
 *wpp386 tlabel.cpp $(CPPFLAGS)

tlistbox.obj : tlistbox.cpp .AUTODEPEND
 *wpp386 tlistbox.cpp $(CPPFLAGS)

tlstview.obj : tlstview.cpp .AUTODEPEND
 *wpp386 tlstview.cpp $(CPPFLAGS)

tmemo.obj : tmemo.cpp .AUTODEPEND
 *wpp386 tmemo.cpp $(CPPFLAGS)

tmenubar.obj : tmenubar.cpp .AUTODEPEND
 *wpp386 tmenubar.cpp $(CPPFLAGS)

tmenubox.obj : tmenubox.cpp .AUTODEPEND
 *wpp386 tmenubox.cpp $(CPPFLAGS)

tmnuview.obj : tmnuview.cpp .AUTODEPEND
 *wpp386 tmnuview.cpp $(CPPFLAGS)

tmouse.obj : tmouse.cpp .AUTODEPEND
 *wpp386 tmouse.cpp $(CPPFLAGS)

tobject.obj : tobject.cpp .AUTODEPEND
 *wpp386 tobject.cpp $(CPPFLAGS)

tobjstrm.obj : tobjstrm.cpp .AUTODEPEND
 *wpp386 tobjstrm.cpp $(CPPFLAGS)

tparamte.obj : tparamte.cpp .AUTODEPEND
 *wpp386 tparamte.cpp $(CPPFLAGS)

tpoint.obj : tpoint.cpp .AUTODEPEND
 *wpp386 tpoint.cpp $(CPPFLAGS)

tprogram.obj : tprogram.cpp .AUTODEPEND
 *wpp386 tprogram.cpp $(CPPFLAGS)

tradiobu.obj : tradiobu.cpp .AUTODEPEND
 *wpp386 tradiobu.cpp $(CPPFLAGS)

trescoll.obj : trescoll.cpp .AUTODEPEND
 *wpp386 trescoll.cpp $(CPPFLAGS)

tresfile.obj : tresfile.cpp .AUTODEPEND
 *wpp386 tresfile.cpp $(CPPFLAGS)

tscreen.obj : tscreen.cpp .AUTODEPEND
 *wpp386 tscreen.cpp $(CPPFLAGS)

tscrlbar.obj : tscrlbar.cpp .AUTODEPEND
 *wpp386 tscrlbar.cpp $(CPPFLAGS)

tscrolle.obj : tscrolle.cpp .AUTODEPEND
 *wpp386 tscrolle.cpp $(CPPFLAGS)

tsortcol.obj : tsortcol.cpp .AUTODEPEND
 *wpp386 tsortcol.cpp $(CPPFLAGS)

tstatict.obj : tstatict.cpp .AUTODEPEND
 *wpp386 tstatict.cpp $(CPPFLAGS)

tstatusl.obj : tstatusl.cpp .AUTODEPEND
 *wpp386 tstatusl.cpp $(CPPFLAGS)

tstrcoll.obj : tstrcoll.cpp .AUTODEPEND
 *wpp386 tstrcoll.cpp $(CPPFLAGS)

tstrlist.obj : tstrlist.cpp .AUTODEPEND
 *wpp386 tstrlist.cpp $(CPPFLAGS)

ttprvln2.obj : ttprvln2.cpp .AUTODEPEND
 *wpp386 ttprvln2.cpp $(CPPFLAGS)

tvcursr2.obj : tvcursr2.cpp .AUTODEPEND
 *wpp386 tvcursr2.cpp $(CPPFLAGS)

tvexpsd2.obj : tvexpsd2.cpp .AUTODEPEND
 *wpp386 tvexpsd2.cpp $(CPPFLAGS)

tview.obj : tview.cpp .AUTODEPEND
 *wpp386 tview.cpp $(CPPFLAGS)

tvtext1.obj : tvtext1.cpp .AUTODEPEND
 *wpp386 tvtext1.cpp $(CPPFLAGS)

tvtext2.obj : tvtext2.cpp .AUTODEPEND
 *wpp386 tvtext2.cpp $(CPPFLAGS)

tvwrite2.obj : tvwrite2.cpp .AUTODEPEND
 *wpp386 tvwrite2.cpp $(CPPFLAGS)

twindow.obj : twindow.cpp .AUTODEPEND
 *wpp386 twindow.cpp $(CPPFLAGS)

tv.lib : video.obj colorsel.obj drivers.obj drivers2.obj edits2.obj editstat.obj&
 frmline2.obj grp.obj help.obj helpbase.obj histlist.obj mapcolor.obj menu.obj&
 misc.obj msgbox.obj names.obj new.obj newstr.obj os2handl.obj palette.obj sbkgrnd.obj&
 sbutton.obj schdrdlg.obj scheckbo.obj sclrsel.obj scluster.obj sdesktop.obj sdialog.obj&
 sdircoll.obj sdirlist.obj seditors.obj sfilcoll.obj sfildlg.obj sfilelst.obj&
 sfinfpne.obj sfinputl.obj sframe.obj sgroup.obj shistory.obj sinputli.obj slabel.obj&
 slistbox.obj slstview.obj smenubar.obj smenubox.obj smnuview.obj sparamte.obj&
 sradiobu.obj srescoll.obj sscrlbar.obj sscrolle.obj sstatict.obj sstatusl.obj&
 sstrcoll.obj sstrlst.obj stddlg.obj strmstat.obj sview.obj swapst2.obj swindow.obj&
 syserr.obj tapplica.obj tbkgrnd.obj tbutton.obj tchdrdlg.obj tcheckbo.obj tcluster.obj&
 tcmdset.obj tcollect.obj tdesktop.obj tdialog.obj tdircoll.obj tdirlist.obj teditor1.obj&
 teditor2.obj teditwnd.obj tevent.obj textview.obj tfildlg.obj tfilecol.obj tfiledtr.obj&
 tfillist.obj tframe.obj tgrmv2.obj tgroup.obj thistory.obj thistwin.obj thstview.obj&
 tindictr.obj tinputli.obj tlabel.obj tlistbox.obj tlstview.obj tmemo.obj tmenubar.obj&
 tmenubox.obj tmnuview.obj tmouse.obj tobject.obj tobjstrm.obj tparamte.obj tpoint.obj&
 tprogram.obj tradiobu.obj trescoll.obj tresfile.obj tscreen.obj tscrlbar.obj tscrolle.obj&
 tsortcol.obj tstatict.obj tstatusl.obj tstrcoll.obj tstrlist.obj ttprvln2.obj tvcursr2.obj&
 tvexpsd2.obj tview.obj tvtext1.obj tvtext2.obj tvwrite2.obj twindow.obj .AUTODEPEND
 %create tv.lb1
!ifneq BLANK "video.obj colorsel.obj drivers.obj drivers2.obj edits2.obj edi&
tstat.obj frmline2.obj grp.obj help.obj helpbase.obj histlist.obj mapcolor.o&
bj menu.obj misc.obj msgbox.obj names.obj new.obj newstr.obj os2handl.obj pa&
lette.obj sbkgrnd.obj sbutton.obj schdrdlg.obj scheckbo.obj sclrsel.obj sclu&
ster.obj sdesktop.obj sdialog.obj sdircoll.obj sdirlist.obj seditors.obj sfi&
lcoll.obj sfildlg.obj sfilelst.obj sfinfpne.obj sfinputl.obj sframe.obj sgro&
up.obj shistory.obj sinputli.obj slabel.obj slistbox.obj slstview.obj smenub&
ar.obj smenubox.obj smnuview.obj sparamte.obj sradiobu.obj srescoll.obj sscr&
lbar.obj sscrolle.obj sstatict.obj sstatusl.obj sstrcoll.obj sstrlst.obj std&
dlg.obj strmstat.obj sview.obj swapst2.obj swindow.obj syserr.obj tapplica.o&
bj tbkgrnd.obj tbutton.obj tchdrdlg.obj tcheckbo.obj tcluster.obj tcmdset.ob&
j tcollect.obj tdesktop.obj tdialog.obj tdircoll.obj tdirlist.obj teditor1.o&
bj teditor2.obj teditwnd.obj tevent.obj textview.obj tfildlg.obj tfilecol.ob&
j tfiledtr.obj tfillist.obj tframe.obj tgrmv2.obj tgroup.obj thistory.obj th&
istwin.obj thstview.obj tindictr.obj tinputli.obj tlabel.obj tlistbox.obj tl&
stview.obj tmemo.obj tmenubar.obj tmenubox.obj tmnuview.obj tmouse.obj tobje&
ct.obj tobjstrm.obj tparamte.obj tpoint.obj tprogram.obj tradiobu.obj tresco&
ll.obj tresfile.obj tscreen.obj tscrlbar.obj tscrolle.obj tsortcol.obj tstat&
ict.obj tstatusl.obj tstrcoll.obj tstrlist.obj ttprvln2.obj tvcursr2.obj tve&
xpsd2.obj tview.obj tvtext1.obj tvtext2.obj tvwrite2.obj twindow.obj"
 @for %i in (video.obj colorsel.obj drivers.obj drivers2.obj edits2.obj edit&
stat.obj frmline2.obj grp.obj help.obj helpbase.obj histlist.obj mapcolor.ob&
j menu.obj misc.obj msgbox.obj names.obj new.obj newstr.obj os2handl.obj pal&
ette.obj sbkgrnd.obj sbutton.obj schdrdlg.obj scheckbo.obj sclrsel.obj sclus&
ter.obj sdesktop.obj sdialog.obj sdircoll.obj sdirlist.obj seditors.obj sfil&
coll.obj sfildlg.obj sfilelst.obj sfinfpne.obj sfinputl.obj sframe.obj sgrou&
p.obj shistory.obj sinputli.obj slabel.obj slistbox.obj slstview.obj smenuba&
r.obj smenubox.obj smnuview.obj sparamte.obj sradiobu.obj srescoll.obj sscrl&
bar.obj sscrolle.obj sstatict.obj sstatusl.obj sstrcoll.obj sstrlst.obj stdd&
lg.obj strmstat.obj sview.obj swapst2.obj swindow.obj syserr.obj tapplica.ob&
j tbkgrnd.obj tbutton.obj tchdrdlg.obj tcheckbo.obj tcluster.obj tcmdset.obj&
 tcollect.obj tdesktop.obj tdialog.obj tdircoll.obj tdirlist.obj teditor1.ob&
j teditor2.obj teditwnd.obj tevent.obj textview.obj tfildlg.obj tfilecol.obj&
 tfiledtr.obj tfillist.obj tframe.obj tgrmv2.obj tgroup.obj thistory.obj thi&
stwin.obj thstview.obj tindictr.obj tinputli.obj tlabel.obj tlistbox.obj tls&
tview.obj tmemo.obj tmenubar.obj tmenubox.obj tmnuview.obj tmouse.obj tobjec&
t.obj tobjstrm.obj tparamte.obj tpoint.obj tprogram.obj tradiobu.obj trescol&
l.obj tresfile.obj tscreen.obj tscrlbar.obj tscrolle.obj tsortcol.obj tstati&
ct.obj tstatusl.obj tstrcoll.obj tstrlist.obj ttprvln2.obj tvcursr2.obj tvex&
psd2.obj tview.obj tvtext1.obj tvtext2.obj tvwrite2.obj twindow.obj) do @%ap&
pend tv.lb1 +'%i'
!endif
!ifneq BLANK ""
 @for %i in () do @%append tv.lb1 +'%i'
!endif
 *wlib -b -c -n -q -p=512 tv.lib @tv.lb1

clean: .SYMBOLIC
 rm -f tv.lib
 rm -f tv.lb1
 rm -f *.err
 rm -f *.obj
 rm -f *.obj