-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from DecodeGenetics/checksum_from_cram
Checksum from cram
- Loading branch information
Showing
790 changed files
with
163,163 additions
and
148,688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,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 | ||
CXXFLAGS+= -O3 -DSEQAN_ENABLE_TESTING=0 -DSEQAN_ENABLE_DEBUG=0 -DSEQAN_HAS_ZLIB=1 | ||
LDLIBS=-lz -lssl -lcrypto | ||
|
||
# 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 $@ $^ $(LDLIBS) | ||
$(CXX) $(LDFLAGS) -o $@ $^ | ||
|
||
bamhash_checksum_fastq: bamhash_checksum_common.o bamhash_checksum_fastq.o | ||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS) | ||
$(CXX) $(LDFLAGS) -o $@ $^ | ||
|
||
bamhash_checksum_fasta: bamhash_checksum_common.o bamhash_checksum_fasta.o | ||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS) | ||
|
||
$(CXX) $(LDFLAGS) -o $@ $^ | ||
|
||
clean: | ||
$(RM) *.o *~ $(TARGET) | ||
$(RM) *.o *~ $(TARGET) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.