code: def generate(env):
      findIt('bcc32', env)
      
      static_obj, shared_obj = SCons.Tool.createObjBuilders(env)
      for suffix in ['.c', '.cpp']:
          static_obj.add_action(suffix, SCons.Defaults.CAction)
          shared_obj.add_action(suffix, SCons.Defaults.ShCAction)
          static_obj.add_emitter(suffix, SCons.Defaults.StaticObjectEmitter)
          shared_obj.add_emitter(suffix, SCons.Defaults.SharedObjectEmitter)
  
      env['CC']        = 'bcc32'
      env['CCFLAGS']   = SCons.Util.CLVar('')
      env['CFLAGS']   = SCons.Util.CLVar('')
      env['CCCOM']     = '$CC -q $CFLAGS $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -c -o$TARGET $SOURCES'
      env['SHCC']      = '$CC'
      env['SHCCFLAGS'] = SCons.Util.CLVar('$CCFLAGS')
      env['SHCFLAGS'] = SCons.Util.CLVar('$CFLAGS')
      env['SHCCCOM']   = '$SHCC -WD $SHCFLAGS $SHCCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -c -o$TARGET $SOURCES'
      env['CPPDEFPREFIX']  = '-D'
      env['CPPDEFSUFFIX']  = ''
      env['INCPREFIX']  = '-I'
      env['INCSUFFIX']  = ''
      env['SHOBJSUFFIX'] = '.dll'
      env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = 0
      env['CFILESUFFIX'] = '.cpp'
docs: Add Builders and construction variables for bcc to an
      Environment.