Hi
Our C++ app uses the Boost library. On platforms that we target, Boost header
files may be in /usr/include/boost or /usr/include/boost141. Likewise, the
Boost library files may be in various directories. So I want my makefile to
check whether /usr/include/boost141 exists in order to set the compiler flags
correctly.
So I added the following code before the rules in my makefile:
if test -d /usr/include/boost141; then \
echo Using Boost 1.41 directory; \
BOOST_INC := /usr/include/boost141; \
BOOST_LIB := boost141/boost_python-mt; \
else \
echo Using default Boost location; \
BOOST_INC := /usr/include/boost; \
BOOST_LIB := boost_python-mt; \
fi
However, this code seems to do nothing. I get no messages from it on the
console.
Please will someone explain where I am going wrong?
Best regards
David
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make