'Compile the extension module.'

def compile(self):

    self._toolchain.verbose = self.verbose
    build_dir = tempfile.mkdtemp(prefix=('pycc-build-%s-' % self._basename))
    (objects, dll_exports) = self._compile_object_files(build_dir)
    objects += self._compile_mixins(build_dir)
    extra_ldflags = self._get_extra_ldflags()
    output_dll = os.path.join(self._output_dir, self._output_file)
    libraries = self._toolchain.get_python_libraries()
    library_dirs = self._toolchain.get_python_library_dirs()
    self._toolchain.link_shared(output_dll, objects, libraries, library_dirs, export_symbols=dll_exports, extra_ldflags=extra_ldflags)
    shutil.rmtree(build_dir)
