remove references to long obsolete .d dependency files

This commit is contained in:
Axel Kohlmeyer
2023-01-10 12:32:01 -05:00
parent 30564ed8b7
commit 31c324ff61
2 changed files with 1 additions and 16 deletions

View File

@ -27,7 +27,7 @@ action () {
}
# force rebuild of files with LMP_MPIIO switch
# also read/write restart so their *.d dependence on changed mpiio.h is rebuilt
# also read/write restart so their dependence on changed mpiio.h is rebuilt
touch ../mpiio.h
touch ../read_restart.cpp

View File

@ -30,26 +30,11 @@ style () {
elif (test "`cat style_$3.h`" != "") then
rm -f style_$3.h
touch style_$3.h
rm -f Obj_*/$4.d
if (test $5) then
rm -f Obj_*/$5.d
fi
rm -f Obj_*/lammps.d
fi
elif (test ! -e style_$3.h) then
mv style_$3.tmp style_$3.h
rm -f Obj_*/$4.d
if (test $5) then
rm -f Obj_*/$5.d
fi
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
if (test $5) then
rm -f Obj_*/$5.d
fi
rm -f Obj_*/lammps.d
else
rm -f style_$3.tmp
fi