#!/bin/sh
cd ${0%/*} || exit 1    # Run from this directory

# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x

export ParMGridGen=$WM_THIRD_PARTY_DIR/ParMGridGen-1.0

if [ -e "$FOAM_LIBBIN/libMGridGen.so" ]
then
    wmake $targetType MGridGenGamgAgglomeration
fi

wmake $targetType pairPatchAgglomeration


#------------------------------------------------------------------------------
