20 lines
391 B
Bash
Executable File
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
|