code: def generate(env):
      
      SCons.Tool.createStaticLibBuilder(env)
      SCons.Tool.createSharedLibBuilder(env)
      SCons.Tool.createProgBuilder(env)
  
      env['AR'] = 'mwld'
      env['ARCOM'] = '$AR $ARFLAGS -library -o $TARGET $SOURCES'
  
      env['LIBDIRPREFIX'] = '-L'
      env['LIBDIRSUFFIX'] = ''
      env['LIBLINKPREFIX'] = '-l'
      env['LIBLINKSUFFIX'] = '.lib'
  
      env['LINK'] = 'mwld'
      env['LINKCOM'] = '$LINK $LINKFLAGS -o $TARGET $SOURCES $_LIBDIRFLAGS $_LIBFLAGS'
  
      env['SHLINK'] = '$LINK'
      env['SHLINKFLAGS'] = '$LINKFLAGS'
      env['SHLINKCOM']   = shlib_action
      env['SHLIBEMITTER']= shlib_emitter
      env['LDMODULEEMITTER']= shlib_emitter
docs: Add Builders and construction variables for lib to an Environment.