Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
5ba68da7
Commit
5ba68da7
authored
Jan 10, 2009
by
Mark Olesen
Browse files
wmake script cosmetics
parent
b85c9a74
Changes
2
Hide whitespace changes
Inline
Side-by-side
wmake/wmake
View file @
5ba68da7
...
...
@@ -55,7 +55,7 @@ USAGE
exit
1
}
# provide immediate help
# provide immediate help
, even if none of the environment is set
if
[
"
$1
"
=
"-h"
-o
"
$1
"
=
"-help"
]
then
usage
...
...
@@ -73,7 +73,7 @@ do
}
done
# when compiling anything but a standalone exe
,
# when compiling anything but a standalone exe
:
# WM_PROJECT and WM_PROJECT_DIR must be set
[
"
$1
"
=
exe
-o
\(
"
$WM_PROJECT
"
-a
"
$WM_PROJECT_DIR
"
\)
]
||
{
echo
"
$Script
error:"
1>&2
...
...
@@ -176,7 +176,7 @@ fi
#------------------------------------------------------------------------------
# Check the existance of the Make directory and files file
# If both exist make the wmake derived files
# If both exist
,
make the wmake derived files
#------------------------------------------------------------------------------
[
-d
$MakeDir
]
||
{
...
...
@@ -238,7 +238,7 @@ fi
#------------------------------------------------------------------------------
cmd
=
"
$make
-f
$WM_DIR
/Makefile MAKE_DIR=
$MakeDir
INCLUDE_DEPS=
$OBJECTS_DIR
/includeDeps
$makeOption
"
#echo "cmd=$cmd"
#
echo "cmd=$cmd"
exec
$cmd
#------------------------------------------------------------------------------
wmake/wmakeLnIncludeAll
View file @
5ba68da7
...
...
@@ -58,7 +58,7 @@ do
find
$checkDir
-depth
-type
d
-name
Make
-print
|
while
read dir
do
dir
=
${
dir
%Make
}
dir
=
${
dir
%
/
Make
}
# trim /Make directory from the end
if
[
-d
"
$dir
"
]
then
wmakeLnInclude
-f
$dir
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment