mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: formatting in makefiles, config files
- fix typo in makefiles/info that affected wmake -show-compile-c - additional safeguard in src/OpenFOAM/Make/options against self-linking. This is not normally required unless PROJECT_LIBS has been added into the link stage.
This commit is contained in:
committed by
Andrew Heather
parent
d14f181529
commit
2d7c266d37
@ -38,7 +38,7 @@ endif
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Set the directory containing the wmake scripts
|
||||
# Directory containing the wmake scripts
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
WM_SCRIPTS = $(WM_DIR)/scripts
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Use POSIX shell. Default to POSIX for the OS.
|
||||
# Use POSIX shell
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
SHELL = /bin/sh
|
||||
@ -63,7 +63,7 @@ ext-so:
|
||||
|
||||
.PHONY: compile-c
|
||||
compile-c:
|
||||
@echo "$(COMP_C)"
|
||||
@echo "$(COMPILE_C)"
|
||||
|
||||
.PHONY: compile-cxx
|
||||
compile-cxx:
|
||||
|
||||
@ -32,13 +32,13 @@
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# The Makefile use a POSIX shell
|
||||
# Use POSIX shell
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
SHELL = /bin/sh
|
||||
SHELL = /bin/sh
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Unset suffices list (suffix rules are not used)
|
||||
# No default suffix rules used
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.SUFFIXES:
|
||||
@ -62,10 +62,10 @@ include $(GENERAL_RULES)/general
|
||||
.PHONY: all clean
|
||||
|
||||
all: $(WMAKE_BIN)/dirToString $(WMAKE_BIN)/wmkdep $(WMAKE_BIN)/wmkdepend
|
||||
@echo built wmake-bin for $(WM_ARCH)$(WM_COMPILER)
|
||||
@echo "built wmake-bin for $(WM_ARCH)$(WM_COMPILER)"
|
||||
|
||||
clean:
|
||||
@echo clean wmake-bin for $(WM_ARCH)$(WM_COMPILER)
|
||||
@echo "clean wmake-bin for $(WM_ARCH)$(WM_COMPILER)"
|
||||
@rm -rf $(WMAKE_BIN) 2>/dev/null
|
||||
@rmdir $(shell dirname $(WMAKE_BIN)) 2>/dev/null || true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user