Skip to content
On this page

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

module · Ruby 3.1

MakeMakefile

include MakeMakefile 31 instance methods 2 class methods

mkmf.rb is used by Ruby C extensions to generate a Makefile which will correctly compile and link the C extension to Ruby and a third-party library.

Class methods 2

Instance methods 31

Constants

Command which will translate C files to assembler sources in the generated Makefile

Command which will translate C++ files to assembler sources in the generated Makefile

Extensions for files compiled with a C compiler

Makefile rules that will clean the extension build directory

Common headers for Ruby C extensions

Common libraries for Ruby C extensions

Command which will compile C files in the generated Makefile

Command which will compile C++ files in the generated Makefile

make compile rules

The makefile configuration using the defaults from when Ruby was built.

No documentation available

Extensions for files compiled with a C++ compiler

No documentation available

Extensions for header files

Argument which will add a library to the linker

Argument which will add a library path to the linker

Command which will link a shared library

A C main function which does no work

No documentation available
No documentation available
No documentation available

Extensions for source files

Command which will compile a program in order to test linking a library

No documentation available
No documentation available