added valgrind target for memory leak detection

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@8842 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2014-07-15 03:30:06 +00:00
parent a5ad315911
commit d3537fae99

View File

@ -769,6 +769,9 @@ $(INST)/ex2 : ../phreeqc3-examples/ex2
check : all
R CMD check --as-cran phreeqc
valgrind : install
R -d "valgrind --tool=memcheck --leak-check=full" --vanilla < cran/phreeqc.Rcheck/phreeqc-Ex.R 2>&1 | tee valgrind.full.out
install : all
R CMD INSTALL --build phreeqc