blob: f58f816dd7ccad923d3fd33b213e01fea5d4865d (
plain)
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
|
diff --git a/src/makefile b/src/makefile
index 0352beb..b7fd20a 100755
--- a/src/makefile
+++ b/src/makefile
@@ -1,12 +1,12 @@
C++ = g++
-CFLAGS = -std=c++11 -Wall -Wno-deprecated -fopenmp
+CFLAGS = -std=c++14 -Wall -Wno-deprecated -fopenmp
OPT = -O2
SPAHOME = $(SPA_HOME)
SEQAN = $(SPAHOME)/3rd/seqan
SUFSORT = $(SPAHOME)/3rd/libdivsufsort-2.0.1/build
INCPATH = -I$(SEQAN) -I$(SUFSORT)/include -I$(BOOST)/include
-LIBPATH = -L$(BOOST)/lib -L$(SUFSORT)/lib -L/usr/local/lib -L/usr/local/lib64
+LIBPATH = -L$(BOOST)/lib -L$(SUFSORT)/lib -L/usr/lib -L/usr/lib64
LIBS = -lrt -lm -lz -lgomp -lpthread -lboost_iostreams -lboost_program_options -ldivsufsort
OBJS0 = param.o cmdargs_simple.o codon.o postfgs.o
@@ -15,11 +15,11 @@ OBJS2 = sfa.o gsa.o IntervalArray.o param.o cmdargs_simple.o preprocess.o
OBJS3 = meminfo.o smath.o graph.o IntervalArray.o sfa.o gsa.o ReadStartCount.o path.o semiglobal.o alignsummary.o PathKmerIndex.o PathKmerPosIndex.o KmerPathIndex.o PathEntry.o param.o loader.o extracter.o sectioner.o msectioner.o esectioner.o cluster.o merger.o extender.o ConnectEntries.o connecter.o ljoiner.o sjoiner.o rjoiner.o rjoinerSA.o seed.o rcmat.o rplace.o ralign.o palign.o msa.o profile.o anchor.o metapath.o placer.o recruiter.o reporter.o assembler.o cmdargs_simple.o log.o spamain.o
OBJS4 = param.o cmdargs_simple.o semiglobal.o alignsummary.o path.o rcmat.o ReadStartCount.o ralign.o palign.o msa.o profile.o KmerPathIndex.o PathEntry.o sectioner.o anchor.o metapath.o placer.o reverser.o extender.o IntervalArray.o sfa.o gsa.o codon.o rtran.o log.o rplace.o
-EXE0 = $(SPAHOME)/bin/postfgs
-EXE1 = $(SPAHOME)/bin/part
-EXE2 = $(SPAHOME)/bin/prespa
-EXE3 = $(SPAHOME)/bin/spa
-EXE4 = $(SPAHOME)/bin/rtran
+EXE0 = postfgs
+EXE1 = part
+EXE2 = prespa
+EXE3 = spa
+EXE4 = rtran
.cpp.o:
$(C++) $(CFLAGS) $(INCPATH) -c $<
@@ -27,7 +27,7 @@ EXE4 = $(SPAHOME)/bin/rtran
install: postfgs part prespa spa rtran
postfgs: $(OBJS0)
- $(C++) $(OPT) -o $(EXE0) $(OBJS0) $(LIBPATH) $(LIBS)
+ $(C++) $(OPT) -o $(EXE0) $(OBJS0) $(LIBPATH) $(LIBS)
@echo
part: $(OBJS1)
$(C++) $(OPT) -o $(EXE1) $(OBJS1) $(LIBPATH) $(LIBS)
|