Skip to content
Snippets Groups Projects
Commit 71a646e6 authored by Henry Weller's avatar Henry Weller
Browse files

src/Pstream: Added Allwclean consistent with the Allwmake

Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2218
parent 22722a87
1 merge request!60Merge foundation
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Define how an mpi-versioned library is created
# clean the qualified directory
wcleanMpiLib()
{
set +x
for libName
do
(
WM_OPTIONS="$WM_OPTIONS$WM_MPLIB"
wclean $libName
)
done
set -x
}
set -x
wclean dummy
case "$WM_MPLIB" in
*MPI*)
set +x
wcleanMpiLib mpi
;;
esac
#------------------------------------------------------------------------------
......@@ -5,11 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
#
# define how to create an mpi-versioned library of $targetType
# Define how to create an mpi-versioned library of $targetType
# compile into qualified directory
# use sentinel file to handle version changes
#
wmakeMpiLib()
{
set +x
......
......@@ -100,7 +100,7 @@ include $(GENERAL_RULES)/general
#------------------------------------------------------------------------------
# Include PROJECT directory tree file and
# source, object and dependency list files.
# These are constructed by MakefileFiles
# These are constructed by makefiles/files
#------------------------------------------------------------------------------
include $(OBJECTS_DIR)/options
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment