require 'mkmf' extension_name = 'calc_sun/calc_sun' dir_config(extension_name) create_makefile(extension_name)