openfoam/applications/Allwmake
2009-07-30 11:51:58 +02:00

18 lines
487 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
if [ "$PWD" != "$WM_PROJECT_DIR/applications" ]
then
echo "Error: Current directory is not \$WM_PROJECT_DIR/applications"
echo " The environment variables are inconsistent with the installation."
echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1
fi
set -x
wmake all solvers
wmake all utilities
# ----------------------------------------------------------------- end-of-file