-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (21 loc) · 1.16 KB
/
Makefile
File metadata and controls
32 lines (21 loc) · 1.16 KB
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
all: comask hardmask bemask mask2bed nl toupper sedef/sedef hmcnc/src/hmmcnc bamToFreq
sedef/sedef:
cd sedef && make -j 4
hmcnc/src/hmmcnc: hmcnc/src/hmmcnc.cpp
cd hmcnc/src && make
toupper: ToUpper.cpp htslib/lib/libhts.a
g++ -O2 $< -o $@ -I htslib/include -Lhtslib/lib -lhts -Wl,-rpath,$(PWD)/htslib/lib -lhts -lz -lpthread
hardmask: HardMask.cpp
g++ -O2 $< -o $@ -I $(CONDA_PREFIX)/include -L$(CONDA_PREFIX)/lib -lhts -Wl,-rpath,$(CONDA_PREFIX)/lib
comask: CombineMask.cpp htslib/lib/libhts.a
g++ -O2 $< -o $@ -I htslib/include -Lhtslib/lib -lhts -Wl,-rpath,$(PWD)/htslib/lib -lhts -lz -lpthread
bemask: MaskBed.cpp htslib/lib/libhts.a
g++ -O2 $< -o $@ -I htslib/include -Lhtslib/lib -lhts -Wl,-rpath,$(PWD)/htslib/lib -lhts -lz -lpthread
mask2bed: MaskedToBed.cpp htslib/lib/libhts.a
g++ -O2 $< -o $@ -I htslib/include -Lhtslib/lib -lhts -Wl,-rpath,$(PWD)/htslib/lib -lhts -lz -lpthread
countn: CountN.cpp
g++ -O2 CountN.cpp -o countn
nl: CountRep.cpp
g++ -O2 CountRep.cpp -o nl
bamToFreq: BamToFreq.cpp $(CONDA_PREFIX)/lib/libhts.so
g++ -O2 $< -o $@ -I $(CONDA_PREFIX)/include -L $(CONDA_PREFIX)/lib -lhts -lpthread -lz -Wl,-rpath,$(CONDA_PREFIX)/lib