# Extending Ruby

**URL:** <https://www.ruby-forum.com/t/extending-ruby/159287>\
**Category:** Ruby\
**Created:** [February 3, 2009, 4:02am UTC](https://www.ruby-forum.com/t/extending-ruby/159287 "2009-02-03T04:02:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![orlick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/53a042/32.png) [@orlick](https://www.ruby-forum.com/u/orlick)\
**Post date:** [February 3, 2009, 4:02am UTC](https://www.ruby-forum.com/t/extending-ruby/159287/1 "2009-02-03T04:02:34Z")

</div>

Hi,

I am using the mkmf module to create a Makefile that will generate a  
shared  
object library.  
How can I list source files to be used that do not reside in the same  
directory as the ruby file that generates the Makefile?

Thanks in advance!
