From a5ea7633ba072ccd9b1e349f700c2b359f2bb83c Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Fri, 20 Mar 2015 16:06:15 +0000 Subject: [PATCH] example Makefile.am fix --- examples/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index d32076a..ec140b0 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -17,7 +17,6 @@ endif noinst_PROGRAMS = \ exCompiledDoubleFunction\ exDerivative \ - exFit \ exIntegrator \ exMat \ exMathInterpreter \ @@ -26,6 +25,10 @@ noinst_PROGRAMS = \ exRand \ exRootFinder +if HAVE_MINUIT +noinst_PROGRAMS += exFit +endif + exCompiledDoubleFunction_SOURCES = exCompiledDoubleFunction.cpp exCompiledDoubleFunction_CFLAGS = -g -O2 exCompiledDoubleFunction_LDFLAGS = -L../lib/.libs -lLatAnalyze @@ -34,9 +37,11 @@ exDerivative_SOURCES = exDerivative.cpp exDerivative_CFLAGS = -g -O2 exDerivative_LDFLAGS = -L../lib/.libs -lLatAnalyze +if HAVE_MINUIT exFit_SOURCES = exFit.cpp exFit_CFLAGS = -g -O2 exFit_LDFLAGS = -L../lib/.libs -lLatAnalyze +endif exIntegrator_SOURCES = exIntegrator.cpp exIntegrator_CFLAGS = -g -O2