diff --git a/Allwmake b/Allwmake index d0110357f83f8007582a812aaf9db25153cf3997..ca2113e522cf92ccfa3d626acb9c16b30bdc1a41 100755 --- a/Allwmake +++ b/Allwmake @@ -5,15 +5,15 @@ set -x # wmake is required for subsequent targets ( cd wmake/src && make ) +# build ThirdParty sources ( cd $WM_THIRD_PARTY_DIR && ./Allwmake ) -( cd src && ./Allwmake ) - -( cd applications && ./Allwmake ) +src/Allwmake +applications/Allwmake if [ "$1" = doc ] then - ( cd doc && ./Allwmake ) + doc/Allwmake fi # ----------------------------------------------------------------- end-of-file diff --git a/applications/Allwmake b/applications/Allwmake index 0c582570683d1ce06ef041abb5e02c2eb3faed93..2a7eeae1245887af8bb81ec819d8b73b8ed0d479 100755 --- a/applications/Allwmake +++ b/applications/Allwmake @@ -2,7 +2,7 @@ cd ${0%/*} || exit 1 # run from this directory set -x -( cd solvers && wmake all ) -( cd utilities && wmake all ) +wmake all solvers +wmake all utilities # ----------------------------------------------------------------- end-of-file diff --git a/applications/utilities/mesh/conversion/Optional/Allwmake b/applications/utilities/mesh/conversion/Optional/Allwmake index 2734e4156222313e279d96eabe4bbe1e9ee240d1..ae71b400fa5dda71248426baa4d181889f94b4a0 100755 --- a/applications/utilities/mesh/conversion/Optional/Allwmake +++ b/applications/utilities/mesh/conversion/Optional/Allwmake @@ -7,14 +7,12 @@ set -x # build libccmio and create lnInclude directory -( - cd $WM_THIRD_PARTY_DIR && ./AllwmakeLibccmio -) +( cd $WM_THIRD_PARTY_DIR && ./AllwmakeLibccmio ) -# if the library built okay, the headers should exist too +# if the library built properly, the headers should exist too if [ -e $FOAM_LIBBIN/libccmio.so ] then - wmake ccm26ToFoam + wmake ccm26ToFoam fi # ----------------------------------------------------------------- end-of-file diff --git a/applications/utilities/mesh/manipulation/setSet/Allwmake b/applications/utilities/mesh/manipulation/setSet/Allwmake index e10d037cbc8c727ff564e1cff2a30d722b4e4848..1e116a3315fd9c00a0ae3d6d1bbf863a0b02fed5 100755 --- a/applications/utilities/mesh/manipulation/setSet/Allwmake +++ b/applications/utilities/mesh/manipulation/setSet/Allwmake @@ -2,8 +2,9 @@ cd ${0%/*} || exit 1 # run from this directory READLINE=0 -if [ -f /usr/include/readline/readline.h ]; then - echo "Found readline/readline.h include file. Enabling readline support." +if [ -f /usr/include/readline/readline.h ] +then + echo "Found readline/readline.h -- enabling readline support." READLINE=1 export READLINELINK="-lreadline -lncurses" break diff --git a/doc/Allwmake b/doc/Allwmake index e75f1030e2c55e7d1e27df75f17aed1eb2042b67..e180b24e0f01eb6e6a485be7c8e4aec78c13497e 100755 --- a/doc/Allwmake +++ b/doc/Allwmake @@ -6,6 +6,6 @@ chmod a+rX $WM_PROJECT_DIR chmod a+rX $WM_PROJECT_DIR/doc chmod -R a+rX Doxygen -( cd Doxygen && ./Allwmake ) +Doxygen/Allwmake # ----------------------------------------------------------------- end-of-file diff --git a/src/Allwmake b/src/Allwmake index 76cc0b157c771576ddda1813108c740b7292a68e..35b8f55b886f902b5dfca438b36a36ba4f7caa93 100755 --- a/src/Allwmake +++ b/src/Allwmake @@ -4,7 +4,7 @@ set -x wmakeLnInclude -f OpenFOAM wmakeLnInclude -f OSspecific/$WM_OS -( cd Pstream && ./Allwmake ) +Pstream/Allwmake wmake libo OSspecific/$WM_OS wmake libso OpenFOAM @@ -17,7 +17,7 @@ wmake libso surfMesh wmake libso meshTools wmake libso finiteVolume -( cd decompositionAgglomeration && ./Allwmake ) +decompositionAgglomeration/Allwmake wmake libso sampling @@ -30,12 +30,12 @@ wmake libso engine wmake libso ODE wmake libso randomProcesses -( cd thermophysicalModels && ./Allwmake ) -( cd transportModels && ./Allwmake ) -( cd turbulenceModels && ./Allwmake ) -( cd lagrangian && ./Allwmake ) -( cd postProcessing && ./Allwmake ) -( cd conversion && ./Allwmake ) +thermophysicalModels/Allwmake +transportModels/Allwmake +turbulenceModels/Allwmake +lagrangian/Allwmake +postProcessing/Allwmake +conversion/Allwmake wmake libso autoMesh wmake libso errorEstimation diff --git a/src/lagrangian/Allwmake b/src/lagrangian/Allwmake index a3aa1794909cc9cae7558c08f3014b41eff7440c..41b2fd9bf937dbc606e668af253144335f512433 100755 --- a/src/lagrangian/Allwmake +++ b/src/lagrangian/Allwmake @@ -6,7 +6,7 @@ wmake libso basic wmake libso solidParticle wmake libso intermediate wmake libso dieselSpray -(cd molecularDynamics && wmake libso potential) -(cd molecularDynamics && wmake libso molecule) + +molecularDynamics/Allwmake # ----------------------------------------------------------------- end-of-file diff --git a/src/lagrangian/molecularDynamics/Allwmake b/src/lagrangian/molecularDynamics/Allwmake new file mode 100755 index 0000000000000000000000000000000000000000..c40ffc2a1bfc8dd814c20bab72eab3af7579bc33 --- /dev/null +++ b/src/lagrangian/molecularDynamics/Allwmake @@ -0,0 +1,8 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # run from this directory +set -x + +wmake libso potential +wmake libso molecule + +# ----------------------------------------------------------------- end-of-file diff --git a/src/turbulenceModels/Allwmake b/src/turbulenceModels/Allwmake index b4633551acf0ffce6bc401c3f321f3885dd4fc20..b542eeeeaed2adb1a5b870982748b83030d00627 100755 --- a/src/turbulenceModels/Allwmake +++ b/src/turbulenceModels/Allwmake @@ -2,7 +2,7 @@ cd ${0%/*} || exit 1 # run from this directory set -x -( cd RAS && ./Allwmake ) -( cd LES && ./Allwmake ) +RAS/Allwmake +LES/Allwmake # ----------------------------------------------------------------- end-of-file