STYLE: linearAxialAngularSpring: indentation
[OpenFOAM-2.0.x.git] / src / Pstream / Allwmake
blob50ccb5fe1d1e175dc705a861cf7fa7454c33839d
1 #!/bin/sh
2 cd ${0%/*} || exit 1 # run from this directory
3 makeType=${1:-libso}
7 # define how to create an mpi-versioned library of $makeType
8 # compile into qualified directory
9 # use sentinel file to handle version changes
11 wmakeMpiLib()
13 set +x
14 for libName
17 WM_OPTIONS="$WM_OPTIONS$WM_MPLIB"
18 whichmpi="$libName/Make/$WM_OPTIONS/using:$FOAM_MPI"
19 [ -e "$whichmpi" ] || wclean $libName
20 echo "wmake $makeType $libName"
21 wmake $makeType $libName
22 touch "$whichmpi"
24 done
25 set -x
28 set -x
29 wmake $makeType dummy
31 case "$WM_MPLIB" in
32 *MPI*)
33 set +x
34 echo
35 echo "Note: ignore spurious warnings about missing mpicxx.h headers"
36 echo
37 wmakeMpiLib mpi
40 #GAMMA)
41 # wmake $makeType gamma
42 # ;;
43 esac
46 # ----------------------------------------------------------------- end-of-file