File: Makefile

package info (click to toggle)
phylip 3.573c-1
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 2,660 kB
  • ctags: 4,689
  • sloc: ansic: 50,759; pascal: 3,148; makefile: 188; sh: 19
file content (41 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Makefile, tests directory and samples by Catherine Letondal <letondal@pasteur.fr>

test:   testdna testprot testdist testtree

testdna:
	rm -f infile
	ln -s dna.data infile
	make testprog PROGRAM=dnapars
	make testprog PROGRAM=dnaml
	make testprog PROGRAM=dnadist

testprot:
	rm -f infile
	ln -s prot.data infile
	make testprog PROGRAM=protpars
	make testprog PROGRAM=protdist

testdist:
	rm -f infile
	ln -s distance.data infile
	make testprog PROGRAM=neighbor

testtree:
	rm -f treefile
	ln -s tree.data treefile
	echo 0 > params
	echo l >> params
	echo n >> params
	echo y >> params
	phylip drawtree < params > drawtree.out
	phylip drawgram < params > drawgram.out


testprog:
	echo 0 > params
	echo y >> params
	phylip ${PROGRAM} < params > ${PROGRAM}.out

clean:
	rm -f infile *.out treefile outfile *~