- more consistent with the rest of the OpenFOAM source tree - improve wmake / wclean behaviour
20 lines
526 B
Bash
Executable File
20 lines
526 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source the wmake functions
|
|
. $WM_DIR/scripts/wmakeFunctions
|
|
|
|
set -x
|
|
|
|
# deal with client/server vs combined plugins
|
|
rm -f $FOAM_LIBBIN/libPVblockMeshReader* 2>/dev/null
|
|
|
|
rm -rf PVblockMeshReader/Make # safety: old build location
|
|
wclean libso vtkPVblockMesh
|
|
|
|
# Where are the generated files stored?
|
|
findObjectDir $PWD # remove entire top-level
|
|
rm -rf "$objectsDir" > /dev/null 2>&1
|
|
|
|
#------------------------------------------------------------------------------
|