#--*- makefile -*--------------------------------------------------------------
#
#   Standard makefile
#
#------------------------------------------------------------------------------

# Path to project directory.
UPDIR = ..
# Path to subdirectories.
SUBDIR=

#
# Libraries and paths (which are not defined globally).
#

LIBS = -lconsensus2  -lnumerics -lsequence -ltools2
ifdef (concurrent)
LIBS += -ltbb
endif
# -lANN 
# Problem with ANN library, FIXIT !!

LIB_PATH =
# -L. -L../lib -L$(VIENNA)/lib 

INC_PATH =
# -I. -I$(VIENNA)/H -I../../lib/tbb/include

#
# Objects and headers
#

SOURCES = hops.cc stemhelptest.cc alidisc.cc ranksec.cc rescalescores.cc alignedit2.cc compass.cc compass_help.cc CompensationScorer.cc sequencestat.cc stemconvert.cc stemhelp.cc

OBJECTS = compass_help.o  CompensationScorer.o  sequencestat.o stemhelp.o

TARGETS = hops stemhelptest alidisc ranksec rescalescores stemconvert alignedit2
# compass 
LIBRARY = libconsensus2.a

#
# Install rule
#

compile: all

install: $(LIBRARY) $(TARGET)
	mv $(LIBRARY) $(UPDIR)/lib

#
# Call global Makefile to do the job.
#

include ../tools2/Makefile.global

