git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6958 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-09-14 15:54:09 +00:00
parent 847c1fe6f4
commit 9baba531ca

View File

@ -4,6 +4,8 @@
# sh Make.sh Makefile.list
# function to create one style_*.h file
# must whack *.d files that depend on style_*.h file,
# else Make will not recreate them
style () {
list=`grep -l $1 $2*.h`
@ -20,9 +22,11 @@ style () {
elif (test ! -e style_$3.h) then
mv style_$3.tmp style_$3.h
rm -f Obj_*/$4.d
rm -f Obj_*/lammps.d
elif (test "`diff --brief style_$3.h style_$3.tmp`" != "") then
mv style_$3.tmp style_$3.h
rm -f Obj_*/$4.d
rm -f Obj_*/lammps.d
else
rm -f style_$3.tmp
fi