From: "RadosÅ‚aw BuÅ‚at" Date: 2009-02-04T10:31:21+09:00 Subject: Re: stupid mkmf On Tue, Feb 3, 2009 at 11:54 PM, Alex Katebi wrote: > The mkmf gets the list of C source files to be used for the shared library > from the current directory only. > Is this the only stupid way to list C source files for ruby extensions? > I remember doing something like this in extconf.rb: $srcs = [ # c files listed here ] $objs = [ # object files listed here ] I looked at the mkmf sources and see that it use that global variables but I don't know if there is better way. Btw. mkmf source is very poor.. it would be nice to have better replacement for mkmf. -- Pozdrawiam Rados³aw Bu³at http://radarek.jogger.pl - mój blog