-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
39 lines (38 loc) · 1.01 KB
/
Makefile
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
packs = util
progs = al blast2dot bwt clac cres cutSeq dnaDist drag drawf drawGenes drawKt \
drawSt fasta2tab geco genTree getSeq huff hut histogram kerror keyMat midRoot maf mtf \
mum2plot mutator naiveMatcher nj num2char numAl olga pam plotLine plotSeg plotTree pps \
randomizeSeq ranDot ranseq rep2plot \
repeater revComp rpois sass sblast sequencer shustring simNorm simOrf sops sw \
testMeans translate travTree upgma var watterson wrapSeq
all:
test -d bin || mkdir bin
for pack in $(packs); do \
make -C $$pack; \
done
printf "" > progs.txt
for prog in $(progs); do \
make -C $$prog; \
echo $$prog >> progs.txt; \
cp $$prog/$$prog bin; \
done
tangle:
test -d bin || mkdir bin
for pack in $(packs); do \
make tangle -C $$pack; \
done
for prog in $(progs); do \
make tangle -C $$prog; \
done
.PHONY: weave
weave:
make -C doc
clean:
for prog in $(progs) $(packs) doc; do \
make clean -C $$prog; \
done
rm -f bin/* progs.txt
test:
for prog in $(packs) $(progs); do \
make test -C $$prog; \
done