openfoam/Allwmake
Mark Olesen 7fd14818e9 drop 'set -x' from top-level Allwmake - it's in the subordinate ones anyhow
- also gives better isolation between scripts
2009-07-27 08:46:43 +02:00

20 lines
391 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# wmake is required for subsequent targets
( cd wmake/src && make )
# build ThirdParty sources
$WM_THIRD_PARTY_DIR/Allwmake
# build OpenFOAM libraries and applications
src/Allwmake
applications/Allwmake
if [ "$1" = doc ]
then
doc/Allwmake
fi
# ----------------------------------------------------------------- end-of-file