mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: avoid mix of 'sinclude' and '-include' in make files
This commit is contained in:
@ -31,7 +31,7 @@ FILES = $(OBJECTS_DIR)/files
|
|||||||
VARS = $(OBJECTS_DIR)/variables
|
VARS = $(OBJECTS_DIR)/variables
|
||||||
SFILES = $(OBJECTS_DIR)/sourceFiles
|
SFILES = $(OBJECTS_DIR)/sourceFiles
|
||||||
|
|
||||||
-include $(OPTIONS)
|
sinclude $(OPTIONS)
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -212,7 +212,7 @@ dep: $(DEPENDENCIES)
|
|||||||
updatedep: dep
|
updatedep: dep
|
||||||
|
|
||||||
ifeq ($(findstring lnInclude,$(MAKECMDGOALS))$(findstring updatedep,$(MAKECMDGOALS)),)
|
ifeq ($(findstring lnInclude,$(MAKECMDGOALS))$(findstring updatedep,$(MAKECMDGOALS)),)
|
||||||
-include $(DEPENDENCIES)
|
sinclude $(DEPENDENCIES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user