ENH: patchCloud: return pTraits<Type>::max for unfound points
[OpenFOAM-1.7.x.git] / Allwmake
blob55554dc9936a9f70e9b4716bb647a42330ae3810
1 #!/bin/sh
2 cd ${0%/*} || exit 1 # run from this directory
4 if [ "$PWD" != "$WM_PROJECT_DIR" ]
5 then
6 echo "Error: Current directory is not \$WM_PROJECT_DIR"
7 echo " The environment variable are not consistent with the installation."
8 echo " Check the OpenFOAM entries in your dot-files and source them."
9 exit 1
12 # wmake is required for subsequent targets
13 ( cd wmake/src && make )
15 # build ThirdParty sources
16 if [ -d "$WM_THIRD_PARTY_DIR" ]
17 then
18 ( cd $WM_THIRD_PARTY_DIR && ./Allwmake )
21 # build OpenFOAM libraries and applications
22 src/Allwmake
23 applications/Allwmake
25 if [ "$1" = doc ]
26 then
27 doc/Allwmake
30 # ----------------------------------------------------------------- end-of-file