CLDIR = $(WINSPECT_ROOT)/class
PACK = tzi

all: sub

sub:
	-(cd UserInput; make all)
	-(cd util; make all)
	-(cd WearableInterface; make all)
	-(cd winspect; make all)

prepare:
	-(if test ! -d $(CLDIR)/$(PACK); then mkdir $(CLDIR)/$(PACK); fi)
	-(cd UserInput; make prepare)
	-(cd util; make prepare)
	-(cd WearableInterface; make prepare)
	-(cd winspect; make prepare)

clean:
	rm -rf *~
	-(cd UserInput; make clean)
	-(cd util; make clean)
	-(cd WearableInterface; make clean)
	-(cd winspect; make clean)
