0
|
1 CXX = g++
|
|
2 CXXFLAGS= -Wall -O3 #-g #-std=c++11 #-Wall #-g
|
|
3 #CXXFLAGS= -Wall -g #-std=c++11 #-Wall #-g
|
|
4 LINKPATH= -I./samtools-0.1.19 -L./samtools-0.1.19
|
|
5 LINKFLAGS = -lbam -lz -lm -lpthread
|
|
6 DEBUG=
|
|
7 OBJECTS = stats.o subexon-graph.o
|
|
8
|
|
9 all: subexon-info combine-subexons classes vote-transcripts junc grader trust-splice add-genename addXS
|
|
10
|
|
11 subexon-info: subexon-info.o $(OBJECTS)
|
|
12 if [ ! -f ./samtools-0.1.19/libbam.a ] ; \
|
|
13 then \
|
|
14 cd samtools-0.1.19 ; make ;\
|
|
15 fi ;
|
|
16 $(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) $(OBJECTS) subexon-info.o $(LINKFLAGS)
|
|
17
|
|
18 combine-subexons: combine-subexons.o $(OBJECTS)
|
|
19 $(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) $(OBJECTS) combine-subexons.o $(LINKFLAGS)
|
|
20
|
|
21 classes: classes.o constraints.o transcript-decider.o $(OBJECTS)
|
|
22 $(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) $(OBJECTS) constraints.o transcript-decider.o classes.o $(LINKFLAGS)
|
|
23
|
|
24 trust-splice: trust-splice.o
|
|
25 $(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) $(OBJECTS) trust-splice.o $(LINKFLAGS)
|
|
26
|
|
27 vote-transcripts: vote-transcripts.o
|
|
28 $(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) $(OBJECTS) vote-transcripts.o $(LINKFLAGS)
|
|
29
|
|
30 junc: junc.o
|
|
31 $(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) junc.o $(LINKFLAGS)
|
|
32
|
|
33 grader: grader.o
|
|
34 $(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) grader.o $(LINKFLAGS)
|
|
35
|
|
36 addXS: addXS.o
|
|
37 $(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) addXS.o $(LINKFLAGS)
|
|
38
|
|
39 add-genename: add-genename.o
|
|
40 $(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) add-genename.o $(LINKFLAGS)
|
|
41
|
|
42 subexon-info.o: SubexonInfo.cpp alignments.hpp blocks.hpp support.hpp defs.h stats.hpp
|
|
43 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
44 combine-subexons.o: CombineSubexons.cpp alignments.hpp blocks.hpp support.hpp defs.h stats.hpp SubexonGraph.hpp
|
|
45 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
46 stats.o: stats.cpp stats.hpp
|
|
47 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
48 subexon-graph.o: SubexonGraph.cpp SubexonGraph.hpp
|
|
49 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
50 constraints.o: Constraints.cpp Constraints.hpp SubexonGraph.hpp alignments.hpp BitTable.hpp
|
|
51 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
52 transcript-decider.o: TranscriptDecider.cpp TranscriptDecider.hpp Constraints.hpp BitTable.hpp
|
|
53 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
54 classes.o: classes.cpp SubexonGraph.hpp SubexonCorrelation.hpp BitTable.hpp Constraints.hpp alignments.hpp TranscriptDecider.hpp
|
|
55 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
56 trust-splice.o: GetTrustedSplice.cpp alignments.hpp
|
|
57 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
58 vote-transcripts.o: Vote.cpp TranscriptDecider.hpp
|
|
59 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
60 junc.o: FindJunction.cpp
|
|
61 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
62 grader.o: grader.cpp
|
|
63 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
64 addXS.o: AddXS.cpp
|
|
65 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
66 add-genename.o: AddGeneName.cpp
|
|
67 $(CXX) -c -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
|
|
68
|
|
69 clean:
|
|
70 rm -f *.o *.gch subexon-info combine-subexons trust-splice vote-transcripts junc grader add-genename addXS
|