summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 07:15:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 07:15:18 +0000
commit84d6f71195f3974778ab9bba2de4ef1a07b19185 (patch)
treecf18172f023ffce2c8758cc3f0940633f353b100 /common.mk
parent4496da18a81b828fed293b1ab6645b6fac9be67d (diff)
* common.mk (clean-enc): clean encoding objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index d8488b24fa..55ab8feb90 100644
--- a/common.mk
+++ b/common.mk
@@ -14,7 +14,7 @@ LIBRUBY_EXTS = ./.libruby-with-ext.time
RDOCOUT = $(EXTOUT)/rdoc
DMYEXT = dmyext.$(OBJEXT)
-NORMALMAINOBJ = main.$(OBJEXT) revision.$(OBJEXT)
+NORMALMAINOBJ = main.$(OBJEXT)
MAINOBJ = $(NORMALMAINOBJ)
EXTOBJS =
DLDOBJS = $(DMYEXT)
@@ -307,6 +307,8 @@ clean-local::
@$(RM) *.inc
clean-ext:
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) clean
+clean-enc:
+ @-$(MAKE) -f enc.mk $(MFLAGS) clean
distclean: distclean-ext distclean-local
distclean-local:: clean-local
@@ -315,12 +317,17 @@ distclean-local:: clean-local
@$(RM) *~ *.bak *.stackdump core *.core gmon.out y.tab.c y.output $(PREP)
distclean-ext:
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) distclean
+# -$(RM) $(INSTALLED_LIST) $(arch_hdrdir)/ruby/config.h
+# -rmdir -p $(arch_hdrdir)/ruby
+distclean-enc: clean-enc
+ @-$(MAKE) -f enc.mk $(MFLAGS) distclean
realclean:: realclean-ext realclean-local
realclean-local:: distclean-local
@$(RM) parse.c lex.c
realclean-ext::
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) realclean
+distclean-enc:: distclean-enc
check: test test-all