1
################################################################################
2
# Makefile for probcons
3
# Modified for ARB by Arne Boeckmann (aboeckma@mpi-bremen.de)
4
################################################################################
6
################################################################################
7
# 1) Choose C++ compiler.
8
################################################################################
12
################################################################################
14
# a) DEBUG mode -- no optimizations, enable SafeVector checking, no inlining
15
# b) PROFILE mode -- for gprof
17
################################################################################
19
OTHERFLAGS = -DNumInsertStates=2 -DVERSION="1.12"
22
#CXXFLAGS = -g -W -Wall -pedantic -DENABLE_CHECKS -fno-inline $(OTHERFLAGS)
25
#CXXFLAGS = -pg -W -Wall -pedantic $(OTHERFLAGS)
28
#CXXFLAGS = -O3 -W -Wall -pedantic -DNDEBUG $(OTHERFLAGS) -mmmx -msse -msse2 -mfpmath=sse -march=pentium4 -mcpu=pentium4 -funroll-loops -fomit-frame-pointer
29
#CXXFLAGS = -O3 -W -Wall -pedantic -DNDEBUG $(OTHERFLAGS) -funroll-loops
30
CXXFLAGS = -O3 -w -pedantic -DNDEBUG $(OTHERFLAGS) -funroll-loops
32
################################################################################
34
################################################################################
36
TARGETS = probcons compare project makegnuplot
41
probcons : MultiSequence.h ProbabilisticModel.h ScoreType.h Sequence.h FileBuffer.h SparseMatrix.h EvolutionaryTree.h Defaults.h SafeVector.h Main.cc
42
$(CXX) $(CXXFLAGS) -lm -o probcons Main.cc
44
compare : MultiSequence.h Sequence.h FileBuffer.h SafeVector.h CompareToRef.cc
45
$(CXX) $(CXXFLAGS) -o compare CompareToRef.cc
47
fixref : MultiSequence.h ProbabilisticModel.h ScoreType.h Sequence.h FileBuffer.h SparseMatrix.h EvolutionaryTree.h Defaults.h SafeVector.h FixRef.cc
48
$(CXX) $(CXXFLAGS) -o fixref FixRef.cc
50
project : MultiSequence.h Sequence.h SafeVector.h ProjectPairwise.cc
51
$(CXX) $(CXXFLAGS) -o project ProjectPairwise.cc
53
makegnuplot : MakeGnuPlot.cc
54
$(CXX) $(CXXFLAGS) -o makegnuplot MakeGnuPlot.cc