# BBv2 Tutorial: link a library

# Copyright Takeshi Mouri 2008.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

import os ;

BOOST_INCLUDE = [ os.environ BOOST_INCLUDE ] ;

lib hello
    :
    hello.cpp
    :
    <include>$(BOOST_INCLUDE)
    <link>shared:<define>HELLO_DYN_LINK
    :
    :
    <include>$(BOOST_INCLUDE)
    <link>shared:<define>HELLO_DYN_LINK
    ;

exe main : main.cpp hello ;
