BUG: update OpenFOAM version strings failed with compiler switch

- now remove all generated files for all platforms when the version
  changes
This commit is contained in:
Mark Olesen
2011-01-26 11:11:48 +01:00
parent 0124a3149b
commit 232c13eef0

View File

@ -17,13 +17,13 @@ wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
set -x
# update OpenFOAM version strings if required
wmakePrintBuild -check || /bin/rm -f OpenFOAM/Make/$WM_OPTIONS/global.? 2>/dev/null
wmakePrintBuild -check || /bin/rm -f OpenFOAM/Make/*/global.? 2>/dev/null
wmakeLnInclude OpenFOAM
wmakeLnInclude OSspecific/$WM_OSTYPE
wmakeLnInclude OSspecific/${WM_OSTYPE:-POSIX}
Pstream/Allwmake
OSspecific/$WM_OSTYPE/Allwmake
OSspecific/${WM_OSTYPE:-POSIX}/Allwmake
wmake libso OpenFOAM
wmake libso fileFormats