srcdir = @srcdir@
VPATH = @srcdir@

include ../MakeVars

DIRS = Math_Tools Coord_Base Internals Zmat Deloc
VPATH += $(DIRS:%=$(srcdir)/%)

LD = $(CXX)

PSILIBS = -lPSI_chkpt -lPSI_ciomr -lPSI_ipv1 -lPSI_psio 

CXXSRC = extrema.cc small_functions.cc $(DIRS:%=%/*.cc)
TRUESRC = $(notdir $(shell echo `ls $(CXXSRC:%=$(srcdir)/%)`))

CXXINC += -I$(srcdir) $(DIRS:%=-I$(srcdir)/%) -I$(objincdir) -I$(incdir) -I$(prefix)/include

BINOBJ = $(TRUESRC:%.cc=%.o)

include ../MakeRules

