るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.082秒)
トップページ > クエリ:path[x] > クエリ:file[x] > クエリ:create_makefile[x]

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. tarwriter add_file
  4. fileutils compare_file
  5. fileutils remove_file

ライブラリ

モジュール

検索結果

Kernel#create_makefile(target, srcprefix = nil) -> true (24213.0)

@todo

...@todo

Kernel#have_library などの各種検査の結果を元に、拡張ライブラリを
ビルドするための Makefile を生成します。

extconf.rb は普通このメソッドの呼び出しで終ります。

@param target ターゲットとなる拡張ライブラリの名前を指...
...test/
foo.c

このようにします。

require 'mkmf'
create_makefile
('test/foo', 'test')

このようにして作った Makefile で 'make install' すると拡張ライブラリは、
以下のパスにインストールされます。

/path/to/ruby/sitearchdir/test/foo.so...

ruby 1.8.4 feature (336.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...ture/test [bug]>))
* ((<ruby 1.8.4 feature/File.identical? [new]>))
* ((<ruby 1.8.4 feature/FileTest.identical? [new]>))
* ((<ruby 1.8.4 feature/File.split [change]>))
* ((<ruby 1.8.4 feature/File.basename [change]>))
* ((<ruby 1.8.4 feature/File.dirname [change]>))
* ((<ruby 1.8.4 featu...
...ッドとして追加。

: File.split [change]
: File.basename [change]
: File.dirname [change]

#Tue Nov 22 14:46:57 2005 NAKAMURA Usaku <usa@ruby-lang.org>
#
# * file.c (rb_file_s_basename): skip slashes just after UNC top slashes.
#
# * test/ruby/test_path.rb (test_dirname, test_ba...
...を修正。((<ruby-dev:27513>))

# == 不要
#
#Mon Nov 28 09:21:49 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
#
# * lib/mkmf.rb (create_makefile): should not change sodir with
# dir.gsub!. (bccwin32 failed to install third party exntesions)
# [ruby-dev:27834]
#
#なん...