summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-14 01:52:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-14 01:52:10 +0000
commit760f2c2917393f597c1a833c3c3015fd1bd50c3f (patch)
tree57badaa19c229e6874eed60f4970a5584d7eb6ef /common.mk
parent1c05712d435bdb5e9a8ee469238eb2f5a39c3ee3 (diff)
* common.mk: marked PHONY targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk30
1 files changed, 19 insertions, 11 deletions
diff --git a/common.mk b/common.mk
index 8fa2e13e1c..d4e3ebbd35 100644
--- a/common.mk
+++ b/common.mk
@@ -135,7 +135,7 @@ $(MKMAIN_CMD): $(MKFILES) incs $(PREP) $(RBCONFIG) $(LIBRUBY)
prog: $(PROGRAM) $(WPROGRAM)
-loadpath: $(PREP)
+loadpath: $(PREP) PHONY
$(MINIRUBY) -e 'p $$:'
$(PREP): $(MKFILES)
@@ -143,7 +143,7 @@ $(PREP): $(MKFILES)
miniruby$(EXEEXT): config.status $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) $(ARCHFILE)
GORUBY = go$(RUBY_INSTALL_NAME)
-golf: $(LIBRUBY) $(GOLFOBJS)
+golf: $(LIBRUBY) $(GOLFOBJS) PHONY
$(MAKE) $(MFLAGS) MAINOBJ="$(GOLFOBJS)" PROGRAM=$(GORUBY)$(EXEEXT) program
capi: Doxyfile PHONY
@$(MAKEDIRS) doc/capi
@@ -347,21 +347,21 @@ post-no-install-doc::
CLEAR_INSTALLED_LIST = clear-installed-list
-install-prereq: $(CLEAR_INSTALLED_LIST)
+install-prereq: $(CLEAR_INSTALLED_LIST) PHONY
-clear-installed-list:
+clear-installed-list: PHONY
@exit > $(INSTALLED_LIST)
clean: clean-ext clean-local clean-enc clean-golf clean-rdoc clean-extout
-clean-local::
+clean-local:: PHONY
@$(RM) $(OBJS) $(MINIOBJS) $(MAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) .*.time
@$(RM) *.inc y.tab.c y.output encdb.h transdb.h
-clean-ext::
-clean-golf:
+clean-ext:: PHONY
+clean-golf: PHONY
@$(RM) $(GORUBY)$(EXEEXT) $(GOLFOBJS)
-clean-rdoc:
-clean-extout:
+clean-rdoc: PHONY
+clean-extout: PHONY
@-$(RMDIRS) $(EXTOUT)/$(arch)
distclean: distclean-ext distclean-local distclean-enc distclean-golf distclean-extout
@@ -369,10 +369,10 @@ distclean-local:: clean-local
@$(RM) $(MKFILES) rbconfig.rb yasmdata.rb encdb.h
@$(RM) config.cache config.log config.status config.status.lineno $(PRELUDES)
@$(RM) *~ *.bak *.stackdump core *.core gmon.out $(PREP)
-distclean-ext::
+distclean-ext:: PHONY
distclean-golf: clean-golf
@$(RM) $(GOLFPRELUDES)
-distclean-rdoc:
+distclean-rdoc: PHONY
distclean-extout: clean-extout
@-$(RMDIRS) $(EXTOUT)
@@ -428,7 +428,15 @@ $(ENC_MK): $(srcdir)/enc/make_encmake.rb $(srcdir)/enc/Makefile.in $(srcdir)/enc
.PRECIOUS: $(MKFILES)
+.PHONY: PHONY all fake prereq incs srcs preludes help
.PHONY: test install install-nodoc install-doc dist
+.PHONY: loadpath golf capi rdoc install-prereq clear-installed-list
+.PHONY: clean clean-ext clean-local clean-enc clean-golf clean-rdoc clean-extout
+.PHONY: distclean distclean-ext distclean-local distclean-enc distclean-golf distclean-extout
+.PHONY: realclean realclean-ext realclean-local realclean-enc realclean-golf realclean-extout
+.PHONY: check test test-all btest btest-ruby test-sample test-knownbug
+.PHONY: run runruby parse benchmark benchmark-each tbench gdb gdb-ruby
+.PHONY: update-mspec update-rubyspec test-rubyspec
PHONY: