summaryrefslogtreecommitdiff
path: root/ext/mathn/rational/extconf.rb
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-24 09:39:53 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-24 09:39:53 +0000
commit4f817e2a9d8a365b403b1ce7a75c2053b0017ef1 (patch)
treed64c1a6b51ba73c5a7210379abae39bf0fa6969e /ext/mathn/rational/extconf.rb
parent9afe0278b31be55ae59e9bb15c0c1fec08b1f328 (diff)
* lib/mathn.rb: moved into ext/mathn/rational/rational.c and
ext/mathn/complex/complex.c. * ext/mathn: new mathn ext-libralies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/mathn/rational/extconf.rb')
-rw-r--r--ext/mathn/rational/extconf.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/mathn/rational/extconf.rb b/ext/mathn/rational/extconf.rb
new file mode 100644
index 0000000000..23cff7a325
--- /dev/null
+++ b/ext/mathn/rational/extconf.rb
@@ -0,0 +1,5 @@
+require "mkmf"
+
+$CPPFLAGS = "-DEXT_MATHN -DCANON -DCLCANON"
+
+create_makefile "mathn/rational"