-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
35 lines (26 loc) · 1.22 KB
/
Makefile
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
33
34
35
CXX = g++
CXXFLAGS= -Wall -g -O3 -march=native #-pg -g #-Wall #-O3
LINKPATH=
LINKFLAGS = -lpthread -lz
DEBUG=
OBJECTS = main.o
#asan=1
ifneq ($(asan),)
CXXFLAGS+=-fsanitize=address -g
LDFLAGS+=-fsanitize=address -ldl -g
endif
all: centrifuger centrifuger-build centrifuger-inspect centrifuger-quant
centrifuger-build: CentrifugerBuild.o
$(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
centrifuger: CentrifugerClass.o
$(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
centrifuger-inspect: CentrifugerInspect.o
$(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
centrifuger-quant: CentrifugerQuant.o
$(CXX) -o $@ $(LINKPATH) $(CXXFLAGS) $< $(LINKFLAGS)
CentrifugerBuild.o: CentrifugerBuild.cpp Builder.hpp ReadFiles.hpp Taxonomy.hpp defs.h compactds/*.hpp
CentrifugerClass.o: CentrifugerClass.cpp Classifier.hpp ReadFiles.hpp Taxonomy.hpp defs.h ResultWriter.hpp ReadPairMerger.hpp ReadFormatter.hpp BarcodeCorrector.hpp BarcodeTranslator.hpp compactds/*.hpp
CentrifugerInspect.o: CentrifugerInspect.cpp Taxonomy.hpp defs.h compactds/*.hpp
CentrifugerQuant.o: CentrifugerQuant.cpp Quantifier.hpp Taxonomy.hpp defs.h compactds/*.hpp
clean:
rm -f *.o centrifuger-build centrifuger centrifuger-inspect centrifuger-quant