# point.io/Point.hs kdtree/Kdtree.hs nn/Nn.hs nn/Nnrun.hs frp/Frp.hs greedy/Greedy1.hs pqgreedy/Pqgreedy.hs

all:	tsp.nn tsp.frp tsp.greedy tsp.pqgreedy artigo.pdf clear

tsp.nn: nn/Nn.hs point.io/Point.hs kdtree/Kdtree.hs
	ghc -o tsp.nn point.io/Point.hs kdtree/Kdtree.hs nn/Nn.hs nn/toureval.hs

tsp.frp: frp/Frp.hs nn/Nn.hs kdtree/Kdtree.hs point.io/Point.hs
	ghc -o tsp.frp point.io/Point.hs kdtree/Kdtree.hs nn/Nn.hs frp/Frp.hs frp/toureval.hs

tsp.greedy: greedy/Greedy.hs point.io/Point.hs
	ghc -o tsp.greedy point.io/Point.hs kdtree/Kdtree.hs nn/Nn.hs greedy/Greedy.hs greedy/toureval.hs

tsp.pqgreedy: pqgreedy/Pqgreedy.hs kdtree/Kdtree.hs point.io/Point.hs
	ghc -o tsp.pqgreedy point.io/Point.hs kdtree/Kdtree.hs nn/Nn.hs greedy/Greedy.hs pqgreedy/Pqgreedy.hs pqgreedy/toureval.hs

artigo.pdf: doc/artigo.tex
	pdflatex doc/artigo.tex

