class_docstr: A modified MingW32 compiler compatible with an MSVC built Python.
  
      
class_docstr_tok: ["A","modified","MingW32","compiler","compatible","with","an","MSVC","built","Python","."]
code: def object_filenames(
      self, source_filenames, strip_dir=0, output_dir=""
  ):
      if output_dir is None:
          output_dir = ""
      obj_names = []
      for src_name in source_filenames:
          # use normcase to make sure '.rc' is really '.rc' and not '.RC'
          (base, ext) = os.path.splitext(os.path.normcase(src_name))
  
          # added these lines to strip off windows drive letters
          # without it, .o files are placed next to .c files
          # instead of the build directory
          drv, base = os.path.splitdrive(base)
          if drv:
              base = base[1:]
  
          if ext not in (self.src_extensions + [".rc", ".res"]):
              raise UnknownFileError(
                  "unknown file type '%s' (from '%s')" % (ext, src_name)
              )
          if strip_dir:
              base = os.path.basename(base)
          if ext == ".res" or ext == ".rc":
              # these need to be compiled to object files
              obj_names.append(
                  os.path.join(
                      output_dir, base + ext + self.obj_extension
                  )
              )
          else:
              obj_names.append(
                  os.path.join(output_dir, base + self.obj_extension)
              )
      return obj_names
  
imports: from __future__ import division, absolute_import, print_function
  import os
  import sys
  import subprocess
  import re
  import numpy.distutils.ccompiler
  import distutils.cygwinccompiler
  from distutils.version import StrictVersion
  from numpy.distutils.ccompiler import gen_preprocess_options, gen_lib_options
  from distutils.unixccompiler import UnixCCompiler
  from distutils.msvccompiler import get_build_version
  from distutils.errors import DistutilsExecError, CompileError, UnknownFileError
  from numpy.distutils.misc_util import msvc_runtime_library, msvc_runtime_version, msvc_runtime_major, get_build_architecture
label_desc: Use image node_id 3 for calling the Mingw32CCompiler obj's underlying member method code with example usage: obj.object_filenames(source_filenames, strip_dir, output_dir) and returns: obj_names