summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index a7f1afd142..5fad5c3a47 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -109,20 +109,23 @@ install: rbconfig.rb
clean-ext:; @-@MINIRUBY@ -Cext extmk.rb clean 2> /dev/null || true
-clean: clean-ext
+clean-local:
@rm -f $(OBJS) $(MAINOBJ) $(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)
+clean: clean-ext clean-local
+
distclean-ext:
@-@MINIRUBY@ -Cext extmk.rb distclean 2> /dev/null || true
-distclean: distclean-ext clean
+distclean-local: clean-local
@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
+distclean: distclean-ext distclean-local
+
realclean: distclean
@rm -f parse.c
@rm -f lex.c