From 97eafefb4ad0ca1477a5a596362fc8616bd4bc25 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 28 Oct 2002 17:01:23 +0000 Subject: * 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 --- ext/extmk.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext') 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 -- cgit v1.2.3