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
91967fb1
Commit
91967fb1
authored
15 years ago
by
Mark Olesen
Browse files
Options
Downloads
Patches
Plain Diff
COMP: compiling setSet directly (without Allwmake) now works
parent
ca7a624f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/utilities/mesh/manipulation/setSet/Allwmake
+6
-4
6 additions, 4 deletions
applications/utilities/mesh/manipulation/setSet/Allwmake
applications/utilities/mesh/manipulation/setSet/Make/options
+3
-1
3 additions, 1 deletion
applications/utilities/mesh/manipulation/setSet/Make/options
with
9 additions
and
5 deletions
applications/utilities/mesh/manipulation/setSet/Allwmake
+
6
−
4
View file @
91967fb1
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
READLINE
=
0
if
[
-f
/usr/include/readline/readline.h
]
then
echo
"Found readline/readline.h -- enabling readline support."
READLINE
=
1
export
READLINE
=
1
export
READLINELINK
=
"-lreadline -lncurses"
break
else
# no readline/readline.h -- disabling readline support
export
READLINE
=
0
unset
READLINELINK
fi
export
READLINE
wmake
# ----------------------------------------------------------------- end-of-file
This diff is collapsed.
Click to expand it.
applications/utilities/mesh/manipulation/setSet/Make/options
+
3
−
1
View file @
91967fb1
/* NB: trailing zero after define improves robustness */
EXE_INC = \
-DREADLINE=$(READLINE) \
-DREADLINE=$(READLINE)
0
\
-I$(LIB_SRC)/meshTools/lnInclude
EXE_LIBS = \
...
...
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