# A simple Makefile for clean files under visual c++

allprogs=bareiss \
	chull \
	chullGraham \
	compare \
	delaunay \
	ieee \
	fileIO \
	gaussian \
	generic \
	geom2d \
	geom3d \
	heron \
	kahan \
	pentagon \
	pi \
	prover \
	nestedSqrt \
	sumOfSqrts \
	testFilter \
	testIdent \
	testIO

all:
	

clean: clean-addition
	@for p in $(allprogs); do \
	  (echo $$p; \
	   cd $$p; \
	   rm -rf Debug* Release* *.ncb *.opt *.plg *.positions; \
	   cd ..;) \
	done 
	
clean-addition:
	cd fortune; \
	rm -rf *.ncb *.opt *.plg *.positions; \
	cd pred; \
	rm -rf Debug* Release* *.ncb *.opt *.plg *.positions; \
	cd ../vor; \
	rm -rf Debug* Release* *.ncb *.opt *.plg *.positions; \
	cd ../..;

