project boost/regex : source-location ../src ; SOURCES = c_regex_traits c_regex_traits_common cpp_regex_traits cregex fileiter posix_api regex regex_debug regex_synch w32_regex_traits wide_posix_api instances winstances ; lib boost_regex : $(SOURCES).cpp : static:BOOST_REGEX_NO_LIB=1 static:BOOST_REGEX_STATIC_LINK=1 shared:BOOST_RE_BUILD_DLL=1 ;