annotate PsiCLASS-1.0.2/Makefile @ 0:903fc43d6227 draft default tip

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