Files
openfoam/src/OSspecific/POSIX/Allwmake
Henry Weller 80db302666 Allwmake: Remove 'set -x' which generates a lot of noise
'set -x' should be used for debugging.

Added command printing into wmake and Allwmake as a replacement for
'set -x' to log current target.
2016-11-13 18:08:22 +00:00

25 lines
586 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Parse arguments for library compilation
targetType=libo
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments $*
unset COMP_FLAGS LINK_FLAGS
#
# use <sys/inotify.h> if available (Linux)
#
if [ -f /usr/include/sys/inotify.h ]
then
echo " found <sys/inotify.h> -- enabling inotify for file monitoring."
export COMP_FLAGS="-DFOAM_USE_INOTIFY"
else
unset COMP_FLAGS
fi
# make (non-shared by default) object
wmake $targetType
#------------------------------------------------------------------------------