summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--common.mk12
2 files changed, 17 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 68e4195aad..f142d6b2ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Tue Sep 2 01:47:44 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
+
+ * common.mk (clean-golf): added.
+ (distclean-golf): added.
+ (realclean-golf): added.
+ (clean): added clean-golf.
+ (distclean): added distclean-golf.
+ (realclean): added realclean-golf.
+
Tue Sep 2 01:31:45 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* common.mk (realclean-local): added newline.c.
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