Skip to content
On this page

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

module · Ruby 3.4

MakeMakefile

include MakeMakefile 33 instance methods 4 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 4

Instance methods 33

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.

Extensions for files compiled with a C++ compiler

The prefix added to exported symbols automatically

Extensions for header files

The language that this module is for

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

The saved original value of LIB environment variable

The RbConfig for the target platform where the built extension runs.

Argument which will add a runtime library path to the linker

Substitution in rules for NMake

Extensions for source files

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

The type names for convertible_int