summaryrefslogtreecommitdiffstats
path: root/bcc32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-07 07:28:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-07 07:28:56 +0000
commit86c07e524de6e8b6c2c8f88101e60d64a3a93d30 (patch)
tree214a154c3528d20a4e47ba478f67bba47c92c71e /bcc32/Makefile.sub
parent948632e3c39b65cd756c7d3f9bc21b28a9149616 (diff)
downloadruby-86c07e524de6e8b6c2c8f88101e60d64a3a93d30.tar.gz
ruby-86c07e524de6e8b6c2c8f88101e60d64a3a93d30.tar.xz
ruby-86c07e524de6e8b6c2c8f88101e60d64a3a93d30.zip
* Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not
use miniruby. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32/Makefile.sub')
-rw-r--r--bcc32/Makefile.sub8
1 files changed, 8 insertions, 0 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub
index 6923e4d9e..ae5236e6c 100644
--- a/bcc32/Makefile.sub
+++ b/bcc32/Makefile.sub
@@ -552,6 +552,14 @@ distclean-local::
@$(RM) ext\config.cache $(RBCONFIG:/=\)
@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
+clean-ext distclean-ext realclean-ext::
+ @for /R ext %I in (.) do @if exist %I\Makefile ( \
+ echo $(@:-ext=)ing %~nI & \
+ cd %I & \
+ $(MAKE) $(MFLAGS) $(@:-ext=) & \
+ cd %CD% \
+ )
+
ext/extinit.obj: ext/extinit.c $(SETUP)
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c