From de61f3db323c9c83fe930fa6bc6010e59b4ecb63 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Sat, 21 May 2011 00:38:51 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6205 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/Depend.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Depend.sh b/src/Depend.sh index 820b64070c..f6f3d43d08 100644 --- a/src/Depend.sh +++ b/src/Depend.sh @@ -1,6 +1,6 @@ -# Depend.sh = Install/unInstall dependent package files +# Depend.sh = Install/unInstall files from dependent packages # only Install/unInstall if dependent package is already installed -# install dependent child files when new parent files installed +# install dependent child files when parent files installed # uninstall dependent child files when parent files uninstalled if (test $1 = 1) then @@ -11,6 +11,9 @@ if (test $1 = 1) then if (test -e pair_lj_cut_gpu.h) then cd GPU; /bin/sh Install.sh 1; cd .. fi + if (test -e cg_cmm_params.h) then + cd USER-CG-CMM; /bin/sh Install.sh 1; cd .. + fi if (test -e pair_lj_cut_cuda.h) then cd USER-CUDA; /bin/sh Install.sh 1; cd .. fi @@ -23,6 +26,9 @@ elif (test $1 = 0) then if (test -e pair_lj_cut_gpu.h) then cd GPU; /bin/sh Install.sh 0; /bin/sh Install.sh 1; cd .. fi + if (test -e cg_cmm_params.h) then + cd USER-CG-CMM; /bin/sh Install.sh 0; /bin/sh Install.sh 1; cd .. + fi if (test -e pair_lj_cut_cuda.h) then cd USER-CUDA; /bin/sh Install.sh 0; /bin/sh Install.sh 1; cd .. fi