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 : debug:BOOST_REGEX_CONFIG_INFO=1 shared:BOOST_REGEX_DYN_LINK=1 ;