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

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

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

LIBS = -lnumerics -ltools2
ifdef (concurrent)
LIBS += -ltbb
endif
# -lANN 

LIB_PATH =
# -L.

INC_PATH =
# -I. -I../../lib/tbb/include

#
# Objects and headers
#

SOURCES = areaenrich.cc clustervectors.cc IntervallIntSet.cc matrixaverager.cc Bond.cc geom3D.cc editmatrix.cc addmatrices.cc \
	generalNumerics.cc superpose.cc realnumerics.cc numberformat.cc \
	RankedSolution2.cc \
	geometry.cc \
	averager.cc colaverager.cc entropyfunctions.cc \
	CoordinateSystem.cc\
	vectornumerics.cc histogram.cc histogram2d.cc Integral3DToolsTest.cc

OBJECTS = IntervallIntSet.o Bond.o geom3D.o generalNumerics.o \
	superpose.o realnumerics.o numberformat.o \
	RankedSolution2.o \
	geometry.o clusterAlgorithms.o \
	entropyfunctions.o CoordinateSystem.o \
	vectornumerics.o 

TARGETS = areaenrich Integral3DToolsTest clustervectors matrixaverager editmatrix \
	addmatrices averager colaverager \
	histogram2d 
LIBRARY = libnumerics.a

#
# Install rule
#

compile: all

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

#
# Call global Makefile to do the job.
#

include ../tools2/Makefile.global

