From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Fri, 7 Jun 2002 01:31:56 +0000 (+0000)
Subject: Split in two the .PHONY target so that makes without .PHONY
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b27471b988d9b35f10246bdebeafaa7ffe249f97;p=p5sagit%2Fp5-mst-13.2.git

Split in two the .PHONY target so that makes without .PHONY
when invoked as "make" won't wander off into the targets "compile
translator utilities" and instead stay in the "all" target.
Diagnosed by Garry Williams.

p4raw-id: //depot/perl@17051
---

diff --git a/Makefile.SH b/Makefile.SH
index 084e8ba..17f087e 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -329,12 +329,14 @@ lintflags = -hbvxac
 .c.s:
 	$(CCCMDSRC) -S $*.c
 
-.PHONY: all compile translators utilities
+.PHONY: all
 
 all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
 	@echo " ";
 	@echo "	Everything is up to date. Type '$(MAKE) test' to run test suite."
 
+.PHONY: compile translators utilities
+
 compile: all
 	echo "testing compilation" > testcompile;
 	cd utils;  $(MAKE) compile;