-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbamToFreq.mk
134 lines (109 loc) · 6.19 KB
/
bamToFreq.mk
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Release
ProjectName :=bamToFreq
ConfigurationName :=Release
WorkspacePath :=/home/mdoering/work
ProjectPath :=/local/home/mdoering/work/bamToFreq
IntermediateDirectory :=./bin
OutDir := $(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=Matthias Doering
Date :=05/06/18
CodeLitePath :=/local/home/mdoering/.codelite
LinkerName :=g++
SharedObjectLinkerName :=g++ -shared -fPIC
ObjectSuffix :=.o
DependSuffix :=.o.d
PreprocessSuffix :=.o.i
DebugSwitch :=-gstab
IncludeSwitch :=-I
LibrarySwitch :=-l
OutputSwitch :=-o
LibraryPathSwitch :=-L
PreprocessorSwitch :=-D
SourceSwitch :=-c
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
Preprocessors :=$(PreprocessorSwitch)NDEBUG
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
ObjectsFileList :="bamToFreq.txt"
PCHCompileFlags :=
MakeDirCommand :=mkdir -p
LinkOptions := -static
IncludePath := $(IncludeSwitch). $(IncludeSwitch).
IncludePCH :=
RcIncludePath :=
Libs := $(LibrarySwitch)hts $(LibrarySwitch)boost_filesystem $(LibrarySwitch)boost_system $(LibrarySwitch)z $(LibrarySwitch)pthread $(LibrarySwitch)lzma $(LibrarySwitch)bz2 $(LibrarySwitch)curl $(LibrarySwitch)dl $(LibrarySwitch)ssl $(LibrarySwitch)crypto
ArLibs := "libhts" "boost_filesystem" "boost_system" "z" "pthread" "lzma" "bz2" "curl" "dl" "ssl" "crypto"
LibPath := $(LibraryPathSwitch). $(LibraryPathSwitch)htslib/lib
##
## Common variables
## AR, CXX, CC, AS, CXXFLAGS and CFLAGS can be overriden using an environment variables
##
AR := ar rcus
CXX := g++
CC := gcc
CXXFLAGS := -g -O2 -std=c++11 $(Preprocessors)
CFLAGS := -g -O2 $(Preprocessors)
ASFLAGS :=
AS := as
##
## User defined environment variables
##
CodeLiteDir:=/usr/share/codelite
Objects0=$(IntermediateDirectory)/bamReader.cpp$(ObjectSuffix) $(IntermediateDirectory)/FreqMatrix.cpp$(ObjectSuffix) $(IntermediateDirectory)/ReadData.cpp$(ObjectSuffix) $(IntermediateDirectory)/CodonData.cpp$(ObjectSuffix)
Objects=$(Objects0)
##
## Main Build Targets
##
.PHONY: all clean PreBuild PrePreBuild PostBuild MakeIntermediateDirs
all: $(OutputFile)
$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
@$(MakeDirCommand) $(@D)
@echo "" > $(IntermediateDirectory)/.d
@echo $(Objects0) > $(ObjectsFileList)
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
MakeIntermediateDirs:
@test -d ./bin || $(MakeDirCommand) ./bin
$(IntermediateDirectory)/.d:
@test -d ./bin || $(MakeDirCommand) ./bin
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/bamReader.cpp$(ObjectSuffix): bamReader.cpp $(IntermediateDirectory)/bamReader.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/local/home/mdoering/work/bamToFreq/bamReader.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/bamReader.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/bamReader.cpp$(DependSuffix): bamReader.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/bamReader.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/bamReader.cpp$(DependSuffix) -MM bamReader.cpp
$(IntermediateDirectory)/bamReader.cpp$(PreprocessSuffix): bamReader.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/bamReader.cpp$(PreprocessSuffix) bamReader.cpp
$(IntermediateDirectory)/FreqMatrix.cpp$(ObjectSuffix): FreqMatrix.cpp $(IntermediateDirectory)/FreqMatrix.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/local/home/mdoering/work/bamToFreq/FreqMatrix.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/FreqMatrix.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/FreqMatrix.cpp$(DependSuffix): FreqMatrix.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/FreqMatrix.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/FreqMatrix.cpp$(DependSuffix) -MM FreqMatrix.cpp
$(IntermediateDirectory)/FreqMatrix.cpp$(PreprocessSuffix): FreqMatrix.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/FreqMatrix.cpp$(PreprocessSuffix) FreqMatrix.cpp
$(IntermediateDirectory)/ReadData.cpp$(ObjectSuffix): ReadData.cpp $(IntermediateDirectory)/ReadData.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/local/home/mdoering/work/bamToFreq/ReadData.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/ReadData.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/ReadData.cpp$(DependSuffix): ReadData.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/ReadData.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/ReadData.cpp$(DependSuffix) -MM ReadData.cpp
$(IntermediateDirectory)/ReadData.cpp$(PreprocessSuffix): ReadData.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/ReadData.cpp$(PreprocessSuffix) ReadData.cpp
$(IntermediateDirectory)/CodonData.cpp$(ObjectSuffix): CodonData.cpp $(IntermediateDirectory)/CodonData.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/local/home/mdoering/work/bamToFreq/CodonData.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/CodonData.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/CodonData.cpp$(DependSuffix): CodonData.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/CodonData.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/CodonData.cpp$(DependSuffix) -MM CodonData.cpp
$(IntermediateDirectory)/CodonData.cpp$(PreprocessSuffix): CodonData.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/CodonData.cpp$(PreprocessSuffix) CodonData.cpp
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) -r ./bin/