diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-28 17:01:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-28 17:01:23 +0000 |
commit | 97eafefb4ad0ca1477a5a596362fc8616bd4bc25 (patch) | |
tree | f617c60850b0aae951a23699dd9706e1749258f0 /ext | |
parent | e51578fd72d4327db1d9a329e41c855655aec1af (diff) |
* ext/extmk.rb (extmake): use dummy_makefile to create dummy
Makefile.
* lib/mkmf.rb (find_executable0): EXEEXT is optional.
* lib/mkmf.rb (dummy_makefile): make dummy Makefile content.
* lib/mkmf.rb (create_makefile): define EXTLIB replacing -l.
* lib/mkmf.rb ($bccwin): detect Borland make by help message.
* lib/mkmf.rb (CLEANINGS): common rules to clean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index bfd39f9206..1c02df2609 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -74,10 +74,7 @@ def extmake(target) end else open("./Makefile", "w") {|f| - f.print configuration($srcdir), makerules(nil), "install:\n" - if /bccwin32/ =~ RUBY_PLATFORM - f.print "\t@\n" - end + f.print dummy_makefile($srcdir) } end if $static |