diff --git a/applications/utilities/mesh/manipulation/renumberMesh/Allwmake b/applications/utilities/mesh/manipulation/renumberMesh/Allwmake index ee135cc373..4115f79c23 100755 --- a/applications/utilities/mesh/manipulation/renumberMesh/Allwmake +++ b/applications/utilities/mesh/manipulation/renumberMesh/Allwmake @@ -4,19 +4,18 @@ cd ${0%/*} || exit 1 # Run from this directory # Parse arguments for compilation (at least for error catching) . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments -export COMPILE_FLAGS='' -export LINK_FLAGS='' +unset COMP_FLAGS LINK_FLAGS if [ -f "${FOAM_LIBBIN}/libSloanRenumber.so" ] then - echo "Found libSloanRenumber.so -- enabling Sloan renumbering support." + echo " found libSloanRenumber -- enabling sloan renumbering support." export LINK_FLAGS="${LINK_FLAGS} -lSloanRenumber" fi if [ -f "${ZOLTAN_ARCH_PATH}/lib/libzoltan.a" -a -f "${FOAM_LIBBIN}/libzoltanRenumber.so" ] then - echo "Found libzoltanRenumber.so -- enabling zoltan renumbering support." - export COMPILE_FLAGS="-DFOAM_USE_ZOLTAN" + echo " found libzoltanRenumber -- enabling sloan renumbering support." + export COMP_FLAGS="-DFOAM_USE_ZOLTAN" export LINK_FLAGS="${LINK_FLAGS} -lzoltanRenumber -L${ZOLTAN_ARCH_PATH}/lib -lzoltan" fi diff --git a/applications/utilities/mesh/manipulation/renumberMesh/Make/options b/applications/utilities/mesh/manipulation/renumberMesh/Make/options index 3d8b7225d9..f285297247 100644 --- a/applications/utilities/mesh/manipulation/renumberMesh/Make/options +++ b/applications/utilities/mesh/manipulation/renumberMesh/Make/options @@ -1,6 +1,6 @@ EXE_INC = \ /* -DFULLDEBUG -g -O0 */ \ - ${COMPILE_FLAGS} \ + ${COMP_FLAGS} \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ diff --git a/applications/utilities/surface/surfaceBooleanFeatures/Allwmake b/applications/utilities/surface/surfaceBooleanFeatures/Allwmake index 260b46ea0b..db490161d8 100755 --- a/applications/utilities/surface/surfaceBooleanFeatures/Allwmake +++ b/applications/utilities/surface/surfaceBooleanFeatures/Allwmake @@ -1,16 +1,16 @@ #!/bin/sh cd ${0%/*} || exit 1 # Run from this directory -unset COMPILE_FLAGS LINK_FLAGS +unset COMP_FLAGS LINK_FLAGS if [ -f "$CGAL_ARCH_PATH/include/CGAL/version.h" ] || \ [ "${CGAL_ARCH_PATH##*-}" = system -a -f /usr/include/CGAL/version.h ] then wmake PolyhedronReader - export COMPILE_FLAGS='-IPolyhedronReader' + export COMP_FLAGS='-IPolyhedronReader' export LINK_FLAGS='${CGAL_LIBS} -lPolyhedronReader' else - export COMPILE_FLAGS="-DNO_CGAL" + export COMP_FLAGS="-DNO_CGAL" fi wmake diff --git a/applications/utilities/surface/surfaceBooleanFeatures/Make/options b/applications/utilities/surface/surfaceBooleanFeatures/Make/options index 873db3134a..4ff7ef8014 100644 --- a/applications/utilities/surface/surfaceBooleanFeatures/Make/options +++ b/applications/utilities/surface/surfaceBooleanFeatures/Make/options @@ -14,7 +14,7 @@ EXE_INC = \ ${EXE_NDEBUG} \ ${CGAL_INC} \ ${c++CGALWARN} \ - $(COMPILE_FLAGS) \ + $(COMP_FLAGS) \ -I$(FOAM_SRC)/surfMesh/lnInclude \ -I$(FOAM_SRC)/triSurface/lnInclude \ -I$(LIB_SRC)/edgeMesh/lnInclude \ diff --git a/src/OSspecific/POSIX/Allwmake b/src/OSspecific/POSIX/Allwmake index d932523c92..83d082c99e 100755 --- a/src/OSspecific/POSIX/Allwmake +++ b/src/OSspecific/POSIX/Allwmake @@ -14,8 +14,6 @@ if [ -f /usr/include/sys/inotify.h ] then echo " found -- enabling inotify for file monitoring." export COMP_FLAGS="-DFOAM_USE_INOTIFY" -else - unset COMP_FLAGS fi # make (non-shared by default) object