-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
110 lines (77 loc) · 5.35 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
CC = g++
CFLAGS = -std=c++0x -pthread -I/usr/local/include -L/usr/local/lib
#CFLAGS = -std=c++0x -pthread -I/usr/local/include -L/usr/local/lib -g -DNDEBUG
all: htdetect getseq
htdetect: htdetect.o Hit.o HitControler.o HitModel.o HitList.o HitListControler.o HitListModel.o Blast.o BlastControler.o BlastModel.o Fasta.o FastaThread.o FastaControler.o FastaModel.o Sequence.o Alignement.o ProgressBar.o ProgressBarThread.o pTest.o Path.o PathControler.o PathModel.o PathWalker.o PathThread.o PathWalkerControler.o PathWalkerModel.o writeSeq.o AlignementWrite.o AlignementGet.o
$(CC) htdetect.o Hit.o HitControler.o HitModel.o HitList.o HitListControler.o HitListModel.o Blast.o BlastControler.o BlastModel.o Fasta.o FastaThread.o FastaControler.o FastaModel.o Sequence.o Alignement.o ProgressBar.o ProgressBarThread.o pTest.o Path.o PathControler.o PathModel.o PathWalker.o PathThread.o PathWalkerControler.o PathWalkerModel.o writeSeq.o AlignementWrite.o AlignementGet.o -o htdetect $(CFLAGS)
getseq: getseq.o Hit.o HitControler.o HitModel.o HitList.o HitListControler.o HitListModel.o Blast.o BlastControler.o BlastModel.o Fasta.o FastaThread.o FastaControler.o FastaModel.o Sequence.o Alignement.o ProgressBar.o ProgressBarThread.o pTest.o Path.o PathControler.o PathModel.o PathWalker.o PathThread.o PathWalkerControler.o PathWalkerModel.o writeSeq.o AlignementWrite.o AlignementGet.o
$(CC) getseq.o Hit.o HitControler.o HitModel.o HitList.o HitListControler.o HitListModel.o Blast.o BlastControler.o BlastModel.o Fasta.o FastaThread.o FastaControler.o FastaModel.o Sequence.o Alignement.o ProgressBar.o ProgressBarThread.o pTest.o Path.o PathControler.o PathModel.o PathWalker.o PathThread.o PathWalkerControler.o PathWalkerModel.o writeSeq.o AlignementWrite.o AlignementGet.o -o getseq $(CFLAGS)
getseq.o: getseq.cpp Hit.o HitControler.o HitModel.o HitList.o HitListControler.o HitListModel.o Blast.o BlastControler.o BlastModel.o Fasta.o FastaThread.o FastaControler.o FastaModel.o Sequence.o Alignement.o ProgressBar.o ProgressBarThread.o pTest.o Path.o PathControler.o PathModel.o PathWalker.o PathThread.o PathWalkerControler.o PathWalkerModel.o writeSeq.o AlignementWrite.o AlignementGet.o
$(CC) -c getseq.cpp $(CFLAGS)
htdetect.o: htdetect.cpp Hit.o HitControler.o HitModel.o HitList.o HitListControler.o HitListModel.o Blast.o BlastControler.o BlastModel.o Fasta.o FastaThread.o FastaControler.o FastaModel.o Sequence.o Alignement.o ProgressBar.o ProgressBarThread.o pTest.o Path.o PathControler.o PathModel.o PathWalker.o PathThread.o PathWalkerControler.o PathWalkerModel.o writeSeq.o
$(CC) -c htdetect.cpp $(CFLAGS)
# Blast
Blast.o: Blast/Blast.cpp BlastControler.o writeSeq.o
$(CC) -c Blast/Blast.cpp $(CFLAGS)
BlastControler.o: Blast/BlastControler.cpp BlastModel.o pTest.o AlignementWrite.o AlignementGet.o PathWalker.o
$(CC) -c Blast/BlastControler.cpp $(CFLAGS)
BlastModel.o: Blast/BlastModel.cpp HitList.o
$(CC) -c Blast/BlastModel.cpp $(CFLAGS)
pTest.o: pTest/pTest.cpp Hit.o
$(CC) -c pTest/pTest.cpp $(CFLAGS)
AlignementGet.o: Alignement/AlignementGet.cpp Alignement.o
$(CC) -c Alignement/AlignementGet.cpp $(CFLAGS)
AlignementWrite.o: Alignement/AlignementWrite.cpp Alignement.o
$(CC) -c Alignement/AlignementWrite.cpp $(CFLAGS)
Alignement.o: Alignement/Alignement.cpp HitList.o Fasta.o ProgressBar.o
$(CC) -c Alignement/Alignement.cpp $(CFLAGS)
writeSeq.o: writeSeq/writeSeq.cpp Hit.o
$(CC) -c writeSeq/writeSeq.cpp $(CFLAGS)
# PathWalker
PathWalker.o: PathWalker/PathWalker.cpp PathWalkerControler.o
$(CC) -c PathWalker/PathWalker.cpp $(CFLAGS)
PathWalkerControler.o: PathWalker/PathWalkerControler.cpp PathWalkerModel.o
$(CC) -c PathWalker/PathWalkerControler.cpp $(CFLAGS)
PathWalkerModel.o: PathWalker/PathWalkerModel.cpp Path.o ProgressBar.o
$(CC) -c PathWalker/PathWalkerModel.cpp $(CFLAGS)
# Path
PathThread.o: Path/PathThread.cpp Path.o
$(CC) -c Path/PathThread.cpp $(CFLAGS)
Path.o: Path/Path.cpp PathControler.o
$(CC) -c Path/Path.cpp $(CFLAGS)
PathControler.o: Path/PathControler.cpp PathModel.o
$(CC) -c Path/PathControler.cpp $(CFLAGS)
PathModel.o: Path/PathModel.cpp Hit.o
$(CC) -c Path/PathModel.cpp $(CFLAGS)
# ProgressBar
ProgressBar.o: ProgressBar/ProgressBar.cpp ProgressBarThread.o
$(CC) -c ProgressBar/ProgressBar.cpp $(CFLAGS)
ProgressBarThread.o: ProgressBar/ProgressBarThread.cpp
$(CC) -c ProgressBar/ProgressBarThread.cpp $(CFLAGS)
# Fasta
Fasta.o: Fasta/Fasta.cpp FastaControler.o FastaThread.o
$(CC) -c Fasta/Fasta.cpp $(CFLAGS)
FastaControler.o: Fasta/FastaControler.cpp FastaModel.o
$(CC) -c Fasta/FastaControler.cpp $(CFLAGS)
FastaModel.o: Fasta/FastaModel.cpp Sequence.o
$(CC) -c Fasta/FastaModel.cpp $(CFLAGS)
FastaThread.o: Fasta/FastaThread.cpp Sequence.o Hit.o
$(CC) -c Fasta/FastaThread.cpp $(CFLAGS)
Sequence.o: Fasta/Sequence.cpp
$(CC) -c Fasta/Sequence.cpp $(CFLAGS)
# HitList
HitList.o: HitList/HitList.cpp HitListControler.o
$(CC) -c HitList/HitList.cpp $(CFLAGS)
HitListControler.o: HitList/HitListControler.cpp HitListModel.o
$(CC) -c HitList/HitListControler.cpp $(CFLAGS)
HitListModel.o: HitList/HitListModel.cpp Hit.o
$(CC) -c HitList/HitListModel.cpp $(CFLAGS)
# Hit
Hit.o: Hit/Hit.cpp HitControler.o
$(CC) -c Hit/Hit.cpp $(CFLAGS)
HitControler.o: Hit/HitControler.cpp HitModel.o
$(CC) -c Hit/HitControler.cpp $(CFLAGS)
HitModel.o: Hit/HitModel.cpp
$(CC) -c Hit/HitModel.cpp $(CFLAGS)
clean:
rm -rf *.o htdetect getseq