packages feed

monte-carlo-0.2: tests/Makefile

all:
	ghc -O -i. -i../lib Main.hs --make -o test-mc
	./test-mc

hpc:
	ghc -fforce-recomp -i. -i../lib -fhpc --make Main.hs -o test-mc
	rm -f test-mc.tix
	./test-mc
	hpc markup test-mc

clean:
	find ../lib . -name '*.hi' | xargs rm -f
	find ../lib . -name '*.o'  | xargs rm -f
	find . -name '*.html' | xargs rm -f
	rm -f test-mc test-mc.tix
	rm -rf .hpc