mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
wmake: Change default behaviour to check the Make/files file for a LIB entry and compile libso if appropriate
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration |
|
# \\ / O peration |
|
||||||
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -202,9 +202,9 @@ fi
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# transform "all" option to "libso" if that looks appropriate or remove it
|
# transform "all" or no option to "libso" if that looks appropriate or remove it
|
||||||
# so that the call to make builds the application
|
# so that the call to make builds the application
|
||||||
if [ "$makeType" = all ]
|
if [ "$makeType" = all -o "$makeType" = "" ]
|
||||||
then
|
then
|
||||||
unset makeType
|
unset makeType
|
||||||
if grep -e '^ *LIB *=' "$MakeDir/files" >/dev/null 2>&1
|
if grep -e '^ *LIB *=' "$MakeDir/files" >/dev/null 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user