openfoam/applications/Allwmake
Mark Olesen 171d7a35e5 ENH: relocate 3rd party libraries -> FOAM_EXT_LIBBIN
- place under $WM_THIRD_PARTY_DIR/lib/$WM_OPTIONS
- relocate FOAM_MPI_LIBBIN accordingly
2010-12-30 13:52:34 +01:00

23 lines
647 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
wmakeCheckPwd "$WM_PROJECT_DIR/applications" || {
echo "Error: Current directory is not \$WM_PROJECT_DIR/applications"
echo " The environment variables are inconsistent with the installation."
echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1
}
[ -n "$FOAM_EXT_LIBBIN" ] || {
echo "Error: FOAM_EXT_LIBBIN not set"
echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1
}
set -x
wmake all utilities
wmake all solvers
# ----------------------------------------------------------------- end-of-file