From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5552 invoked from network); 3 Mar 2000 18:41:49 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Mar 2000 18:41:49 -0000 Received: (qmail 22383 invoked by alias); 3 Mar 2000 18:41:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9987 Received: (qmail 22358 invoked from network); 3 Mar 2000 18:41:40 -0000 From: "Bart Schaefer" Message-Id: <1000303184101.ZM20924@candle.brasslantern.com> Date: Fri, 3 Mar 2000 18:41:01 +0000 In-Reply-To: Comments: In reply to Zefram "Re: PATCH: Re: dev-19 + latest patches: all Makefiles are rebuilt every time make is run" (Mar 3, 6:11pm) References: X-Mailer: Z-Mail (5.0.0 30July97) To: Zefram Subject: Re: PATCH: Re: dev-19 + latest patches: all Makefiles are rebuilt every time make is run Cc: ZSH workers mailing list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 3, 6:11pm, Zefram wrote: } Subject: Re: PATCH: Re: dev-19 + latest patches: all Makefiles are rebuilt } } Bart Schaefer wrote: } >+modules-bltin:: mymods.conf } } What's this double colon? It's very much not portable. Eh? That's been legal in every "make" I've used since 1985. Where do you know it to fail? It tells "make" that there are different commands for the same target when there are different dependencies. That is, normally if you write target: dependency1 command1 target: dependency2 command2 You'll get either an error or something like warning: overriding commands for target `target' warning: ignoring old commands for target `target' If you use a double colon, it means that "make" should execute command1 when dependency1 is out of date, and should execute command2 when dependency2 is out of date, i.e. they're no longer mutually exclusive. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com