mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
* use $WM_THIRD_PARTY_DIR variable in top-level Allwmake
* test new shell idiom for Allwmake files:
# run from this directory only
cd ${0%/*} || exit 1
this might be especially useful when building optional components
20 lines
287 B
Bash
Executable File
20 lines
287 B
Bash
Executable File
#!/bin/sh
|
|
set -x
|
|
|
|
# run from this directory only
|
|
cd ${0%/*} || exit 1
|
|
|
|
# wmake is required for subsequent targets
|
|
(cd wmake/src && make)
|
|
|
|
(cd $WM_THIRD_PARTY_DIR && ./Allwmake)
|
|
|
|
(cd src && ./Allwmake)
|
|
|
|
(cd applications && ./Allwmake)
|
|
|
|
if [ "$1" = doc ]
|
|
then
|
|
(cd doc && ./Allwmake)
|
|
fi
|