summaryrefslogtreecommitdiffstats
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-28 17:01:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-28 17:01:23 +0000
commita3e8aaf791db6e96f4b706e6432f6d7f162d5561 (patch)
treef617c60850b0aae951a23699dd9706e1749258f0 /ext/extmk.rb
parent854ce1ee8dcb49601dfb08049567ac702b13a19d (diff)
downloadruby-a3e8aaf791db6e96f4b706e6432f6d7f162d5561.tar.gz
ruby-a3e8aaf791db6e96f4b706e6432f6d7f162d5561.tar.xz
ruby-a3e8aaf791db6e96f4b706e6432f6d7f162d5561.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@3011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rw-r--r--ext/extmk.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index bfd39f920..1c02df260 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