diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index bd197ded87..a8d1ad79cd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -107,14 +107,19 @@ $(LIBRUBY_SO): $(OBJS) dmyext.@OBJEXT@ miniruby$(EXEEXT) install: rbconfig.rb @MINIRUBY@ $(srcdir)/instruby.rb $(DESTDIR) -clean:; @rm -f $(OBJS) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY_ALIASES) $(MAINOBJ) rbconfig.rb +clean-ext:; @-@MINIRUBY@ -Cext extmk.rb clean 2> /dev/null || true + +clean: clean-ext + @rm -f $(OBJS) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY_ALIASES) @rm -f ext/extinit.c ext/extinit.@OBJEXT@ dmyext.@OBJEXT@ @-@MINIRUBY@ -Cext extmk.rb clean 2> /dev/null || true @rm -f $(PROGRAM) miniruby$(EXEEXT) -distclean:; @-@MINIRUBY@ -Cext extmk.rb distclean 2> /dev/null || true - $(MAKE) clean - @rm -f Makefile ext/extmk.rb config.h +distclean-ext: + @-@MINIRUBY@ -Cext extmk.rb distclean 2> /dev/null || true + +distclean: distclean-ext clean + @rm -f Makefile ext/extmk.rb config.h rbconfig.rb @rm -f ext/config.cache config.cache config.log config.status @rm -f *~ core *.core gmon.out y.tab.c y.output ruby.imp |