all:
	makemfx bidirmfx.h   # create I/O structures from header file
	cc -o bidir bidir.c   # create executable task
	mv bidir /usr/local/bin #
	bidir                # this creates mfi.mfx
	xbw bidirwdw         # try the automatically created user interface
	xbw startbidir       # the manually created version
clean:
	rm -f *~
	rm -f bidir
	rm -f *.xbc *.xbh *mfx.c
	rm -f *.o
	rm -f *.mfx
	rm -f xbmfx.*
	rm -f *mfx.mta
	rm -f *wdw.mta
