#!/bin/sh cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for library compilation . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments # Build if Scotch is enabled case $SCOTCH_TYPE in none) ;; *) . $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/scotch) echo " using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH" wmake $targetType ;; esac #------------------------------------------------------------------------------