all: tsp.nn tsp.frp

tsp.nn: nn/nn.hs nn/main.nn/mainnn.hs point.io/Point.hs ordena.hs
	ghc -prof -auto-all -o tsp.nn point.io/Point.hs \
			ordena.hs \
			nn/nn.hs \
			nn/main.nn/mainnn.hs \


tsp.frp: frp/frp.hs nn/nn.hs frp/main.frp/mainfrp.hs point.io/Point.hs kdtree/Kdtree.hs ordena.hs
	ghc -prof -auto-all -o tsp.frp point.io/Point.hs \
			ordena.hs \
			kdtree/Kdtree.hs \
			nn/nn.hs \
			frp/frp.hs \
			frp/main.frp/mainfrp.hs


tsp.greedy: greedy/greedy.hs greedy/tour.eval/toureval.hs point.io/Point.hs
	ghc -o tsp.greedy point.io/Point.hs \
			greedy/greedy.hs \
			greedy/tour.eval/toureval.hs
