aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
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