ThirdParty: some fixing and correcting a typo
[openfoam-extend-OpenFOAM-1.6-ext.git] / Allwmake
blob7347315a52bf063ecbdd1786d6a3e052f2a0ddb4
1 #!/bin/bash
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 #( cd $WM_THIRD_PARTY_DIR && ./Allwmake )
17 # ( cd $WM_THIRD_PARTY_DIR && ./AllMake )
19 # We make sure the ThirdParty packages environment variables are up-to-date
20 # before compiling the rest of OpenFOAM
21 . $WM_PROJECT_DIR/etc/settings.sh
23 # build OpenFOAM libraries and applications
24 src/Allwmake
25 applications/Allwmake
27 if [ "$1" = doc ]
28 then
29 doc/Allwmake
32 # ----------------------------------------------------------------- end-of-file