aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 29a648c9a6..cdbad6d588 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -203,6 +203,15 @@ clean-local::
distclean-local::
@$(RM) ext/config.cache $(RBCONFIG)
+ -$(RM) $(INSTALLED_LIST) $(arch_hdrdir)/ruby/config.h
+ -rmdir -p $(arch_hdrdir)/ruby
+
+clean-ext distclean-ext realclean-ext::
+ @find ext -name Makefile | sort | while read mk; do \
+ dir=`dirname "$$mk"`; \
+ echo $(@:-ext=)ing `expr "$$dir" : 'ext/\(.*\)'`; \
+ (cd "$$dir"; $(MAKE) $(MFLAGS) $(@:-ext=)); \
+ done
ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c