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
91967fb1
Commit
91967fb1
authored
Feb 22, 2010
by
Mark Olesen
Browse files
COMP: compiling setSet directly (without Allwmake) now works
parent
ca7a624f
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/manipulation/setSet/Allwmake
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
applications/utilities/mesh/manipulation/setSet/Make/options
View file @
91967fb1
/* NB: trailing zero after define improves robustness */
EXE_INC = \
-DREADLINE=$(READLINE) \
-DREADLINE=$(READLINE)
0
\
-I$(LIB_SRC)/meshTools/lnInclude
EXE_LIBS = \
...
...
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