DFLAGS= -g -DNDEBUG=0 
NDFLAGS= -DNDEBUG=1
CDFLAGS= -g -DNDEBUG=0 -DMY_DEBUG=1
CFLAGS= -c ${CDFLAGS} -DVIDEODIR=RT
VIDEOFILE= /mit/vws/plx/rt/rt_video/VVideo.o
BLENS= /mit/lens/src/bgardner
WB= /mit/lens/src/bgardner/widget-builder
#STAFFTOOLS= -I/mit/StaffTools/include
STAFFTOOLS=
LENS= -I/mit/lens/src/working/ansi-include -I/mit/lens/src/working/include /mit/lens/src/working/src/lens.a
OOFILES= editwidget.o general.o mailbuffer.o movewidget.o resizewidget.o saveccode.o savemfile.o videostuff.o wbasciitext.o wbblankline.o wbbox.o wbbutton.o wbform.o wblabel.o wbmfield.o wbnode.o wbscrollbar.o wbvideo.o widget-builder.o
HFILES= editwidget.h general.h movewidget.h resizewidget.h saveccode.h videostuff.h wbasciitext.h wbblankline.h wbbox.h wbbutton.h wbform.h wblabel.h wbmfield.h wbnode.h wbscrollbar.h wbvideo.h widget-builder.h editwidgetP.h generalP.h movewidgetP.h resizewidgetP.h saveccodeP.h wbasciitextP.h wbblanklineP.h wbboxP.h wbbuttonP.h wbformP.h wblabelP.h wbmfieldP.h wbnodeP.h wbscrollbarP.h wbvideoP.h widget-builderP.h


.c.o:
	pcc ${CFLAGS} -Dconst= $*.c -I${WB} -I${BLENS} ${VIDEOFILE} ${LENS} ${STAFFTOOLS} -lXaw -lXt -lX

wb: ${OOFILES} widget-builder.o
	pcc widget-builder.o ${OOFILES} ${LENS} -lXaw -lXt -lX -o wb

widget-builder.o: widget-builderP.h widget-builder.h

editwidget.o: editwidget.h editwidgetP.h

general.o: general.h generalP.h

mailbuffer.o: mailbuffer.h mailbufferP.h

movewidget.o: movewidget.h movewidgetP.h

resizewidget.o: resizewidget.h resizewidgetP.h

saveccode.o: saveccode.h saveccodeP.h

savemfile.o: savemfile.h savemfileP.h

videostuff.o: videostuff.h

wbasciitext.o: wbasciitext.h wbasciitextP.h

wbblankline.o: wbblankline.h wbblanklineP.h

wbbox.o: wbbox.h wbboxP.h

wbbutton.o: wbbutton.h wbbuttonP.h

wbform.o: wbform.h wbformP.h

wblabel.o: wblabel.h wblabelP.h

wbmfield.o: wbmfield.h wbmfieldP.h

wbnode.o: wbnode.h wbnodeP.h

wbscrollbar.o: wbscrollbar.h wbscrollbarP.h

wbvideo.o: wbvideo.h wbvideo.h videostuff.h


