-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (15 loc) · 942 Bytes
/
Makefile
File metadata and controls
24 lines (15 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: countme mecons
SPOA_DIR=spoa/install/usr/local
countme: methyl_extract.cpp
g++ -std=c++17 -g -o countme methyl_extract.cpp -L $(CONDA_PREFIX)/lib -lhts -I $(CONDA_PREFIX)/include
$(SPOA_DIR)/lib/libspoa.so:
cd spoa && mkdir -p build
cd spoa/build && meson
cd spoa/build && meson setup --libdir=lib
cd spoa/build && ninja
cd spoa/build && meson install --destdir=../install/
mecons: methyl_consensus.cpp $(SPOA_DIR)/lib/libspoa.so
g++ -O2 -I$(SPOA_DIR)/include methyl_consensus.cpp -L$(SPOA_DIR)/lib/ -lspoa -L $(CONDA_PREFIX)/lib -lhts -I $(CONDA_PREFIX)/include -lz -o mecons -Wl,-rpath=$(PWD)/$(SPOA_DIR)/lib
reextract: region_extract.cpp
g++ -O2 region_extract.cpp -L $(CONDA_PREFIX)/lib -lhts -I $(CONDA_PREFIX)/include -lz -o reextract
# g++ -fsanitize=address -g -I$(SPOA_DIR)/include methyl_consensus.cpp -L$(SPOA_DIR)/lib/ -lspoa -L $(CONDA_PREFIX)/lib -lhts -I $(CONDA_PREFIX)/include -lz -o mecons