The makefile configuration using the defaults from when ruby was built.
Extensions for files compiled with a C compiler
Extensions for files complied with a C++ compiler
Extensions for source files
Extensions for header files
Common headers for ruby C extensions
Common libraries for ruby C extensions
make compile rules
Command which will compile C files in the generated Makefile
Command which will compile C++ files in the generated Makefile
Command which will compile a program in order to test linking a library
Command which will link a shared library
Argument which will add a library path to the linker
Argument which will add a library to the linker
A C main function which does no work
CLEANINGS : " clean-static:: clean-rb-default:: clean-rb:: clean-so:: clean: clean-so clean-static clean-rb-default clean-rb \t\t-$(Q)$(RM) $(CLEANLIBS#{sep}) $(CLEANOBJS#{sep}) $(CLEANFILES#{sep}) .*.time distclean-rb-default:: distclean-rb:: distclean-so:: distclean-static:: distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb \t\t-$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log \t\t-$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES#{sep}) \t\t-$(Q)$(RMDIRS) $(DISTCLEANDIRS#{sep})#{$ignore_error} realclean: distclean "
Makefile rules that will clean the extension build directory
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.