Skip to content

Commit

Permalink
fixed problem with g++5 'this' capture; better database h/cpp separation
Browse files Browse the repository at this point in the history
  • Loading branch information
muellan committed Mar 9, 2020
1 parent 5e843bc commit e944442
Show file tree
Hide file tree
Showing 12 changed files with 371 additions and 330 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ HEADERS = \
src/classification_statistics.h \
src/cmdline_utility.h \
src/config.h \
src/database.h \
src/dna_encoding.h \
src/filesys_utility.h \
src/hash_dna.h \
Expand All @@ -43,7 +44,6 @@ HEADERS = \
src/querying.h \
src/sequence_io.h \
src/sequence_view.h \
src/sketch_database.h \
src/stat_confusion.h \
src/stat_moments.h \
src/string_utils.h \
Expand All @@ -55,6 +55,7 @@ HEADERS = \
SOURCES = \
src/classification.cpp \
src/cmdline_utility.cpp \
src/database.cpp \
src/filesys_utility.cpp \
src/main.cpp \
src/mode_build.cpp \
Expand All @@ -65,7 +66,6 @@ SOURCES = \
src/options.cpp \
src/printing.cpp \
src/sequence_io.cpp \
src/sketch_database.cpp \
src/taxonomy_io.cpp


Expand Down Expand Up @@ -143,7 +143,7 @@ $(REL_DIR)/mode_query.o : src/mode_query.cpp $(HEADERS)
$(REL_DIR)/taxonomy_io.o : src/taxonomy_io.cpp $(HEADERS)
$(REL_COMPILE)

$(REL_DIR)/sketch_database.o : src/sketch_database.cpp $(HEADERS)
$(REL_DIR)/database.o : src/database.cpp $(HEADERS)
$(REL_COMPILE)

$(REL_DIR)/options.o : src/options.cpp $(HEADERS)
Expand Down Expand Up @@ -195,7 +195,7 @@ $(DBG_DIR)/mode_query.o : src/mode_query.cpp $(HEADERS)
$(DBG_DIR)/taxonomy_io.o : src/taxonomy_io.cpp $(HEADERS)
$(DBG_COMPILE)

$(DBG_DIR)/sketch_database.o : src/sketch_database.cpp $(HEADERS)
$(DBG_DIR)/database.o : src/database.cpp $(HEADERS)
$(DBG_COMPILE)

$(DBG_DIR)/options.o : src/options.cpp $(HEADERS)
Expand Down Expand Up @@ -247,7 +247,7 @@ $(PRF_DIR)/mode_query.o : src/mode_query.cpp $(HEADERS)
$(PRF_DIR)/taxonomy_io.o : src/taxonomy_io.cpp $(HEADERS)
$(PRF_COMPILE)

$(PRF_DIR)/sketch_database.o : src/sketch_database.cpp $(HEADERS)
$(PRF_DIR)/database.o : src/database.cpp $(HEADERS)
$(PRF_COMPILE)

$(PRF_DIR)/options.o : src/options.cpp $(HEADERS)
Expand Down
2 changes: 1 addition & 1 deletion src/candidates.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <cstdint>
#include <limits>

#include "sketch_database.h"
#include "database.h"


namespace mc {
Expand Down
2 changes: 1 addition & 1 deletion src/classification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "querying.h"
#include "sequence_io.h"
#include "sequence_view.h"
#include "sketch_database.h"
#include "database.h"

#include "classification.h"

Expand Down
Loading

0 comments on commit e944442

Please sign in to comment.