#!/usr/bin/make -f
# Samples and tests by Catherine Letondal <letondal@pasteur.fr>

TEST_DATA = /usr/share/doc/fastdnaml/examples/tests/fastdnaml.data

test:	fastDNAml fastDNAml_boot

oldfastDNAml:
	cat $(TEST_DATA) | fastDNAml-util frequencies | fastDNAml-util printdata | fastDNAml-util treefile | fastDNAml > fastdnaml.out ; fastDNAml-util clean_checkpoints

fastDNAml:
	cat $(TEST_DATA) | fastDNAml-util printdata | fastDNAml > fastdnaml.out ; fastDNAml-util clean_checkpoints

fastDNAml_boot:
	cat $(TEST_DATA) | fastDNAml-util printdata  > fastdnaml.data.tmp; fastDNAml-util fastDNAml_boot -out -boots 2 -max 2 fastdnaml.data.tmp 2

clean:
	rm -f *.tmp* 
	rm -f *.out 
	rm -f treefile*
	rm -f checkpoint.*



