-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 879 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 879 Bytes
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
# include SeqAn libraries, don't warn about MD5 deprecation
CXXFLAGS+=-I. -Wno-deprecated-declarations
#include htslib by setting -I<path_to_htslib/include> and link to the htslib library
HTSDIR=<path_to_htsdir>
CXXFLAGS+=-I$(HTSDIR)/include
# RELEASE build
CXX=g++ -std=c++11 -pthread
CXXFLAGS+= -O3 -DSEQAN_ENABLE_TESTING=0 -DSEQAN_ENABLE_DEBUG=0 -DSEQAN_HAS_ZLIB=1
LDFLAGS=-L$(HTSDIR)/lib -lz -lssl -lcrypto -Wl,-rpath,$(HTSDIR)/lib -lhts
TARGET = bamhash_checksum_bam bamhash_checksum_fastq bamhash_checksum_fasta
all: $(TARGET)
bamhash_checksum_bam: bamhash_checksum_common.o bamhash_checksum_bam.o
$(CXX) $(LDFLAGS) -o $@ $^
bamhash_checksum_fastq: bamhash_checksum_common.o bamhash_checksum_fastq.o
$(CXX) $(LDFLAGS) -o $@ $^
bamhash_checksum_fasta: bamhash_checksum_common.o bamhash_checksum_fasta.o
$(CXX) $(LDFLAGS) -o $@ $^
clean:
$(RM) *.o *~ $(TARGET)