From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4170D551.9070103@chunder.com> Date: Sat, 16 Oct 2004 18:01:21 +1000 From: Bruce Ellis User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] mk question References: <97cf6a6e603204e68ecb28ccf32cefa3@vitanuova.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: ef474e72-eacd-11e9-9e20-41e7f4b1d025 Russ Cox wrote: > what if you add > > mktypeset.b: /dev/null > # > > russ what if you read the code and convinced yourself that the pages of code trying to help you are patching the wrong algorithm? there's a nice bit of unneeded transitive closure code in there. i looked at mk a lot before writing mash. mash does a breadth-first search for a singular answer, using each rule only once. my active server mashfile looks like your mkfile but it works. and mashes search code is a page (and a bit?) and you probably have it. mk works if you don't stray from the path that works - it works well at building plan9. you could use gmake - it has lotsa other cool bugs. brucee