-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
40 lines (27 loc) · 1.24 KB
/
makefile
File metadata and controls
40 lines (27 loc) · 1.24 KB
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
# Makefile for pip (pipeline interface program)
#CXX = /usr/local/Cellar/gcc48/4.8.2/bin/g++-4.8
#CC = /usr/local/Cellar/gcc48/4.8.2/bin/gcc-4.8
CXXFLAGS += -O3 -Wall -Wextra -std=c++11 -march=native
LDFLAGS += -ldl -lpthread
SQLITE_THREADSAFE = 0
all: pip insert_accelerator
pip: pip.o newpack.o commands.o stream_trimmomatic.o sqlite3.o
$(CXX) -o $@ $^ -L/usr/local/Cellar/boost/1.55.0_1/lib -L/usr/local/packages/boost/1.55.0/lib -lboost_program_options
insert_accelerator: insert_accelerator.o newpack.o commands.o sqlite3.o
$(CXX) -o $@ $^ -L/usr/local/Cellar/boost/1.55.0_1/lib -L/usr/local/packages/boost/1.55.0/lib
gref: gref.o FASTQSequence.o newpack.o sqlite3.o
$(CXX) -o $@ $^ -L/usr/local/packages/boost/1.55.0_1/lib -lboost_program_options
sqlite3.o: sqlite3.c
/usr/local/Cellar/gcc48/4.8.2/bin/gcc-4.8 -O3 -Wa,-q -ftree-vectorizer-verbose=2 -march=native -o $(@) -c $^
tests: testPack testFASTQ
testPack: FASTQSequence.o newpack.o
${LINK.C} testPack.C -o $(@) $?
testFASTQ: FASTQSequence.o
${LINK.C} testFASTQ.C -o $(@) $?
testFastRead: testFastRead.o
testRawWrite: testRawWrite.o newpack.o
$(CXX) -o $@ $^ -L/usr/local/Cellar/boost/1.55.0/lib
clean:
/bin/rm -f *~ *.o dump.fastq fastq.db
realclean: clean
/bin/rm -f imap