Compile stand alone ROOT with Math/VavilovAccurate.h library

Dear ROOT,
I would like to compile my stand alone program that uses the “Math/VavilovAccurate.h” library
What should be the command line for the compilation ?

$(CC) $(CCFLAGS) -o MyProgram $(ROOTFLAGS) $(INCFLAGS) $(LDFLAGS) $(SOURCES) MyProgram.cc

What should I put for:
$(ROOTFLAGS)
$(INCFLAGS)
$(LDFLAGS)

Thank you very much.

  • Mauro.

Dear ROOT,
I forgot to post the error message that I get:

g++ -g -Wall -m64 -o FitDiamond root-config --cflags --libs --glibs -lMinuit -I /Users/mauro/root/include FitDiamond.cc

Undefined symbols:
“ROOT::Math::VavilovAccurate::~VavilovAccurate()”, referenced from:
FitDiamond() in ccJrz5tT.o
FitDiamond() in ccJrz5tT.o
"ROOT::Math::VavilovAccurate::VavilovAccurate(double, double, double, double)", referenced from:
FitDiamond() in ccJrz5tT.o
"ROOT::Math::Vavilov::Mean(double, double)", referenced from:
FitDiamond() in ccJrz5tT.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [FitDiamond] Error 1

Thanks again.

  • Mauro.

-lMathMore