all:
	ghc ../point.io/Point.hs greedy.hs teste.greedy.hs -o tsp.greedy -O2 -prof -auto-all
run:
	gzip -dc ../../test.data/att48.tsp.gz | ../../test.data/frtsplib.pl | ./tsp.greedy
test:
	../../tsp.tour/test.data/tourcmp.pl ../../test.data/a280.tsp.gz ../../test.data/frtsplib.pl ./tsp.greedy ./../../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.greedy ./../../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.greedy ./../../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.greedy ./../../tsp.tour/tour.eval/tourlen ../../tsp.tour/test.data/tsplibopt.pl
