Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
aa68159a
Commit
aa68159a
authored
17 years ago
by
Mark Olesen
Browse files
Options
Downloads
Patches
Plain Diff
wmake must be made before other targets.
parent
220b4c12
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Allwmake
+3
-2
3 additions, 2 deletions
Allwmake
wmake/wmkdir
+10
-6
10 additions, 6 deletions
wmake/wmkdir
with
13 additions
and
8 deletions
Allwmake
+
3
−
2
View file @
aa68159a
#!/bin/sh
#!/bin/sh
set
-x
set
-x
(
cd
$WM_PROJECT_INST_DIR
/ThirdParty
&&
./Allwmake
)
# wmake is required for subsequent targets
(
cd
wmake/src
&&
make
)
(
cd
wmake
&&
./
makeW
make
)
(
cd
$WM_PROJECT_INST_DIR
/ThirdParty
&&
./
Allw
make
)
(
cd
src
&&
./Allwmake
)
(
cd
src
&&
./Allwmake
)
...
...
This diff is collapsed.
Click to expand it.
wmake/wmkdir
+
10
−
6
View file @
aa68159a
...
@@ -27,17 +27,21 @@
...
@@ -27,17 +27,21 @@
# wmkdir
# wmkdir
#
#
# Description
# Description
# Script
which
makes a directory is not already constucted.
# Script
that
makes a directory is not already const
r
ucted.
# Usage : wmkdir <directoryName>
# Usage : wmkdir <directoryName>
#
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
if
[
$#
=
1
]
if
[
$#
-eq
1
]
then
then
if
[
!
-d
$1
]
# provide help
then
if
[
"
$1
"
=
"-h"
-o
"
$1
"
=
"-help"
]
mkdir
-p
$1
then
fi
echo
"usage:
${
0
##*/
}
<dir>"
echo
" mkdir if directory does not already exist"
else
[
-d
"
$1
"
]
||
mkdir
-p
"
$1
"
fi
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment