import os ; local dll-suffix = so ; local prefix = "" ; if [ os.name ] in CYGWIN NT { if [ MATCH ^(gcc) : $toolset ] { dll-suffix = dll ; } else { dll-suffix = lib ; } } else { prefix = "lib" ; } if [ MATCH ^(clang-)?(darwin) : $toolset ] { dll-suffix = dylib ; } project ext ; lib a : : debug/$(prefix)a.$(dll-suffix) debug : : debug ; lib a : : release/$(prefix)a.$(dll-suffix) release : : release ;