Forward compatibility: flex
[foam-extend-3.2.git] / src / Allwmake
blob3b600c806fcab86918deb5fec2c46f439112bd11
1 #!/bin/sh
2 cd ${0%/*} || exit 1 # run from this directory
4 if [ "$PWD" != "$WM_PROJECT_DIR/src" ]
5 then
6 echo "Error: Current directory in not \$WM_PROJECT_DIR/src"
7 echo " The environment variable are not consistent with the installation."
8 echo " Check the FOAM entries in your dot-files and source them."
9 exit 1
12 set -x
14 # update foam version strings if required
15 wmakePrintBuild -check || /bin/rm -f foam/Make/$WM_OPTIONS/global.? 2>/dev/null
17 wmakeLnInclude foam
18 wmakeLnInclude meshTools
19 wmakeLnInclude OSspecific/$WM_OSTYPE
21 wmake libo OSspecific/$WM_OSTYPE
23 set +x
24 echo
25 echo "Note: ignore spurious warnings about missing mpicxx.h headers"
26 set -x
27 wmake libso foam
29 # Decomposition methods needed by meshTools
30 decompositionMethods/AllwmakeLnInclude
31 decompositionMethods/Allwmake
33 wmake libso lagrangian/basic
35 wmake libso edgeMesh
36 wmake libso surfMesh
38 wmake libso meshTools
39 wmake libso finiteVolume
40 wmake libso finiteArea
42 wmake libso lduSolvers
44 wmake libso tetFiniteElement
46 # Make dynamicMesh tools
47 dynamicMesh/AllwmakeLnInclude
48 dynamicMesh/Allwmake
50 wmake libso coupledMatrix
51 wmake libso sampling
53 wmake libso ODE
54 wmake libso POD
55 wmake libso randomProcesses
56 mesh/Allwmake
58 thermophysicalModels/Allwmake
59 transportModels/Allwmake
60 turbulenceModels/Allwmake
61 lagrangian/Allwmake
62 postProcessing/Allwmake
63 conversion/Allwmake
65 wmake libso errorEstimation
67 fvAgglomerationMethods/Allwmake
69 wmake libso engine
71 wmake libso equationReader
72 wmake libso multiSolver
74 wmake libso solidModels
75 wmake libso dbns
77 wmake libso immersedBoundary/immersedBoundary
78 wmake libso immersedBoundary/immersedBoundaryTurbulence
79 wmake libso immersedBoundary/immersedBoundaryForce
80 wmake libso immersedBoundary/immersedBoundaryDynamicMesh
82 ( cd cudaSolvers ; ./Allwmake )
84 # ----------------------------------------------------------------- end-of-file