summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-01 16:51:06 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-01 16:51:06 +0000
commit4bec0938a1072f850b8026fd49a733814a5f63cc (patch)
tree6b9dc54cb4fd4ab3d9fe32209d63d06e343d196d /common.mk
parent1ff83a064f06213f98e5234d91eeb2df0a5bc74b (diff)
* common.mk (clean-golf): added.
(distclean-golf): added. (realclean-golf): added. (clean): added clean-golf. (distclean): added distclean-golf. (realclean): added realclean-golf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/common.mk b/common.mk
index 26f1268433..5da65ff186 100644
--- a/common.mk
+++ b/common.mk
@@ -325,16 +325,18 @@ install-prereq: $(CLEAR_INSTALLED_LIST)
clear-installed-list:
@exit > $(INSTALLED_LIST)
-clean: clean-ext clean-local clean-enc
+clean: clean-ext clean-local clean-enc clean-golf
clean-local::
@$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
- @$(RM) *.inc $(GOLFOBJS) y.tab.c y.output encdb.h transdb.h
+ @$(RM) *.inc y.tab.c y.output encdb.h transdb.h
clean-ext::
clean-enc:
@-$(MAKE) -f enc.mk $(MFLAGS) clean
+clean-golf:
+ @$(RM) $(GORUBY)$(EXEEXT) $(GOLFOBJS)
-distclean: distclean-ext distclean-local distclean-enc
+distclean: distclean-ext distclean-local distclean-enc distclean-golf
distclean-local:: clean-local
@$(RM) $(MKFILES) $(arch_hdrdir)/ruby/config.h rbconfig.rb yasmdata.rb encdb.h
@$(RM) config.cache config.log config.status config.status.lineno $(PRELUDES)
@@ -342,12 +344,14 @@ distclean-local:: clean-local
distclean-ext::
distclean-enc: clean-enc
@-$(MAKE) -f enc.mk $(MFLAGS) distclean
+distclean-golf: clean-golf
-realclean:: realclean-ext realclean-local realclean-enc
+realclean:: realclean-ext realclean-local realclean-enc realclean-golf
realclean-local:: distclean-local
@$(RM) parse.c parse.h lex.c newline.c revision.h
realclean-ext::
realclean-enc:: distclean-enc
+realclean-golf: distclean-golf
check: test test-all