all:
	ghc ../point.io/Point.hs ../kdtree/kdtree.hs ../nn/nn.hs frp.hs teste.frp.hs -o tsp.frp -O2 -prof -auto-all
run:
	gzip -dc ../../test.data/att48.tsp.gz | ../../test.data/frtsplib.pl | ./tsp.frp
test:
	../../tsp.tour/test.data/tourcmp.pl ../../test.data/a280.tsp.gz ../../test.data/frtsplib.pl ./tsp.frp ./../../tsp.tour/tour.eval/tourlen ../../tsp.tour/test.data/tsplibopt.pl
	../../tsp.tour/test.data/tourcmp.pl ../../test.data/att48.tsp.gz ../../test.data/frtsplib.pl ./tsp.frp ./../../tsp.tour/tour.eval/tourlen ../../tsp.tour/test.data/tsplibopt.pl
	../../tsp.tour/test.data/tourcmp.pl ../../test.data/kroA100.tsp.gz ../../test.data/frtsplib.pl ./tsp.frp ./../../tsp.tour/tour.eval/tourlen ../../tsp.tour/test.data/tsplibopt.pl
	../../tsp.tour/test.data/tourcmp.pl ../../test.data/pr1002.tsp.gz ../../test.data/frtsplib.pl ./tsp.frp ./../../tsp.tour/tour.eval/tourlen ../../tsp.tour/test.data/tsplibopt.pl
