From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19320 invoked from network); 3 Jan 2000 03:06:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Jan 2000 03:06:48 -0000 Received: (qmail 16171 invoked by alias); 3 Jan 2000 03:06:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9182 Received: (qmail 16164 invoked from network); 3 Jan 2000 03:06:35 -0000 Subject: Re: PATCH: phony make targets In-Reply-To: from Peter Stephenson at "Jan 2, 2000 07:39:06 pm" To: Peter Stephenson Date: Mon, 3 Jan 2000 03:06:34 +0000 (GMT) CC: Zsh hackers list X-Mailer: ELM [version 2.4ME+ PL65 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: From: Zefram Peter Stephenson wrote: >GNU make sometimes creates empty files with the names of phony targets such >as `FORCE' and `all'. This should help in this case, I hope other forms of >make will just ignore it. makes that don't recognise it will ignore it, except that it will become the default target if it is the first rule in the Makefile. It should go at the end of the Makefile. Or for greater maintainability, put a .PHONY pseudo-rule after the rule for each phony target. But I'd like to know when make will actually create a file for a phony target. It shouldn't be possible for it to do that; there's something seriously wrong if that's happening. -zefram