#!/bin/sh

dir=`pwd`

#NUM_REC="$dir/num_rec"

#INSTALL="/usr/bin/install"

TRACY="tracy"

cd "$dir/$TRACY"

export TRACY_LIB="$dir/tracy"
export NUM_REC="/usr/local/applications/physmach/recipes_c-ansi"

rm -rf autom4te.cache
rm -rf aclocal.m4

make distclean

./bootstrap
FFLAGS="-O2  -Wall -fbounds-check" CXXFLAGS="-O2  -Wall -fno-implicit-templates" CC=icc F77=ifort CXX=icc ./configure --prefix=$dir/$TRACY/tracy 

make
make install
