all:
	(cd simple;            make -f Makefile)
	(cd simple2;           make -f Makefile)
	(cd range;             make -f Makefile)
	(cd loadMultiple;      make -f Makefile)
	(cd relation;          make -f Makefile)
	(cd collide;           make -f Makefile)
	(cd multi;             make -f Makefile)
	(cd paddle;            make -f Makefile)
	(cd paddleInteraction; make -f Makefile)
	(cd paddleDemo;        make -f Makefile)
	(cd simpleLite;        make -f Makefile)
	(cd twoView;           make -f Makefile)
	(cd optical;           make -f Makefile)		
	(cd modeTest;          make -f Makefile)
	(cd exview;            make -f Makefile)
	
clean:
	(cd simple;            make -f Makefile clean)
	(cd simple2;           make -f Makefile clean)
	(cd range;             make -f Makefile clean)
	(cd loadMultiple;      make -f Makefile clean)
	(cd relation;          make -f Makefile clean)
	(cd collide;           make -f Makefile clean)
	(cd multi;             make -f Makefile clean)
	(cd paddle;            make -f Makefile clean)
	(cd paddleInteraction; make -f Makefile clean)
	(cd paddleDemo;        make -f Makefile clean)
	(cd simpleLite;        make -f Makefile clean)
	(cd twoView;           make -f Makefile clean)
	(cd optical;           make -f Makefile clean)		
	(cd modeTest;          make -f Makefile clean)
	(cd exview;            make -f Makefile clean)
	(cd simpleVRML;        make -f Makefile clean)

allclean:
	(cd simple;            make -f Makefile allclean)
	(cd simple2;           make -f Makefile allclean)
	(cd range;             make -f Makefile allclean)
	(cd loadMultiple;      make -f Makefile allclean)
	(cd relation;          make -f Makefile allclean)
	(cd collide;           make -f Makefile allclean)
	(cd multi;             make -f Makefile allclean)
	(cd paddle;            make -f Makefile allclean)
	(cd paddleInteraction; make -f Makefile allclean)
	(cd paddleDemo;        make -f Makefile allclean)
	(cd simpleLite;        make -f Makefile allclean)
	(cd twoView;           make -f Makefile allclean)
	(cd optical;           make -f Makefile allclean)		
	(cd modeTest;          make -f Makefile allclean)
	(cd exview;            make -f Makefile allclean)
	(cd simpleVRML;        make -f Makefile allclean)
	rm -f Makefile
