Split in two the .PHONY target so that makes without .PHONY
Jarkko Hietaniemi [Fri, 7 Jun 2002 01:31:56 +0000 (01:31 +0000)]
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

Makefile.SH

index 084e8ba..17f087e 100644 (file)
@@ -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;