Skip to content
Snippets Groups Projects
Allwmake 704 B
Newer Older
cd ${0%/*} || exit 1    # run from this directory
wmakeCheckPwd "$WM_PROJECT_DIR" || {
    echo "Error: Current directory is not \$WM_PROJECT_DIR"
    echo "    The environment variables are inconsistent with the installation."
    echo "    Check the OpenFOAM entries in your dot-files and source them."
    exit 1
# wmake is required for subsequent targets
( cd wmake/src && make )
if [ -d "$WM_THIRD_PARTY_DIR" ]
then
    $WM_THIRD_PARTY_DIR/Allwmake
fi
# build OpenFOAM libraries and applications

# ----------------------------------------------------------------- end-of-file