COMP: provide makefile fallbacks for FOAM_SOLVERS, FOAM_UTILITIES

- improves build robustness, even with a reduced environment (#517)
This commit is contained in:
Mark Olesen
2020-05-06 08:57:15 +02:00
parent cf5928c3b8
commit c853080d91

View File

@ -6,11 +6,10 @@
# \\/ M anipulation |
#------------------------------------------------------------------------------
# Copyright (C) 2011-2016 OpenFOAM Foundation
# Copyright (C) 2019 OpenCFD Ltd.
# Copyright (C) 2019-2020 OpenCFD Ltd.
#------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM, licensed under GNU General Public License
# <http://www.gnu.org/licenses/>.
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
#
# File
# wmake/makefiles/general
@ -67,6 +66,14 @@ EXE_LIBS =
LIB_LIBS =
# These variables are used for some builds - provide fallback values
ifeq (,$(FOAM_SOLVERS))
FOAM_SOLVERS = $(WM_PROJECT_DIR)/applications/solvers
endif
ifeq (,$(FOAM_UTILITIES))
FOAM_UTILITIES = $(WM_PROJECT_DIR)/applications/utilities
endif
#------------------------------------------------------------------------------
# Declare default name of libraries and executables
#------------------------------------------------------------------------------