-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
47 lines (33 loc) · 1.19 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
36
37
38
39
40
41
42
43
44
45
46
# FLAGS
CXXFLAGS = -fopenmp#-Wall # put compiler settings here
# put linker settings here
CXX = g++ -std=c++11 -g -O0
RM = rm -f
MV = mv
CP = cp
all:HALC Splitter Trimmer bin instbin
HALC:src/HALC.o src/BlasrAdapter.o src/parsingargs.o
$(CXX) $(CXXFLAGS) src/HALC.o src/BlasrAdapter.o src/parsingargs.o -o HALC
HALC.o:src/HALC.cpp src/HALC.h
$(CXX) $(CXXFLAGS) -c src/HALC.cpp
BlasrAdapter.o:src/BlasrAdapter.cpp src/BlasrAdapter.h
$(CXX) $(CXXFLAGS) -c src/BlasrAdapter.cpp
parsingargs.o:src/parsingargs.cpp src/parsingargs.h
$(CXX) $(CXXFLAGS) -c src/parsingargs.cpp
Splitter:thirdparty/Splitter.o
$(CXX) thirdparty/Splitter.o -o Splitter
Splitter.o:thirdparty/Splitter.cpp
$(CXX) -c thirdparty/Splitter.cpp
Trimmer:thirdparty/Trimmer.o
$(CXX) thirdparty/Trimmer.o -o Trimmer
Trimmer.o:thirdparty/Trimmer.cpp
$(CXX) -c thirdparty/Trimmer.cpp
bin:
mkdir bin
instbin:
$(MV) HALC Splitter Trimmer bin
$(CP) thirdparty/Chunker thirdparty/SeqChunker-dd thirdparty/SeqChunker-perl thirdparty/SeqChunker-sed thirdparty/interleave thirdparty/interleaved-split bin
clean:
$(RM) src/HALC.o src/BlasrAdapter.o src/parsingargs.o thirdparty/Splitter.o thirdparty/Trimmer.o
purge: clean
$(RM) -r bin/