test:
	@echo "building and testing megacon...."
	cd megacon ; make test OPTS='$(OPTS)'
	@echo "building and testing rtest...."
	cd rtest ; make test OPTS='$(OPTS)'
	@echo "building and testing pingpong...."
	cd pingpong ; make test OPTS='$(OPTS)'
	@echo "building and testing commbench...."
	cd commbench ; make test OPTS='$(OPTS)'

clean:
	cd megacon ; make clean
	cd rtest ; make clean
	cd pingpong ; make clean
	cd commbench ; make clean
	rm -f TAGS #*#
	rm -f core *~
