openfoam/applications/utilities/mesh/manipulation/setSet/Allwmake

15 lines
377 B
Bash
Executable File

#!/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 include file. Enabling readline support."
READLINE=1
export READLINELINK="-lreadline -lncurses"
break
fi
export READLINE
wmake
# ----------------------------------------------------------------- end-of-file