home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: aus.followup
- Path: sparky!uunet!munnari.oz.au!mtiame!iconix!iconix.oz.au!mwp
- From: mwp@iconix.oz.au (Michael Paddon)
- Subject: Re: Shake -- A Makefile Generator
- Message-ID: <mwp.724832859@iconix.oz.au>
- Sender: news@iconix.oz.au (USENET)
- Nntp-Posting-Host: titanic
- Organization: Iconix Pty Ltd (World Headquarters)
- References: <mwp.724647291@iconix.oz.au> <1992Dec19.050107.5587@physiol.su.OZ.AU>
- Date: Sun, 20 Dec 1992 06:27:39 GMT
- Lines: 39
-
- In <1992Dec19.050107.5587@physiol.su.OZ.AU> john@physiol.su.OZ.AU (John Mackin) writes:
- >I wouldn't want anyone to misunderstand this article. I don't intend
- >to slag off at Michael's tool (which I haven't looked at). (Although
- >I am _delighted_ to slag off at imake...)
- > The problem with this approach
- >is that the bottom level is still "make". That means you get all of
- >make's `features' as a free extra bonus, and some of those are just
- >the features you don't want. Especially since make is a hot favourite
- >for hacking by vendors, who almost always break it in interestingly
- >obscure ways.
-
- Yes. However, the problem with rewriting make (ie. cake) is that no
- two people will ever agree as to what exactly needs fixing. Not to
- mention that you are building something that is not backward compatible
- with all the makefiles that are already out there.
-
- I've used cake and there are things it does excellently as well
- as some very neat ideas. If it matches what you want to do, I recommend
- that you use it.
-
- Unfortunately, it did not solve the problem in what I considered to be
- the best possible way. So I wrote my own package, providing a novel way
- of preprocessing a file. Then I spent more than a year refining the
- basic idea in a real development environment. So far, I've been very happy
- with the results; so has everyone else who's used it.
-
- BTW, shake always generates full rules, and uses "make -r" so that
- all those wonderful vendor supplied rules get turned off. This gets
- around the most annoying make incompatibilities. As an aside the
- worst of these is the SYSV rule that wants to compile foo.c into foo
- automatically. This caused headaches with MH, amongst others...
-
- The bottom line is that different people have different requirements.
- Both John Mackin and myself concur; vanilla make doesn't work well in
- a serious programming environment and imake is not the answer.
- Following that conclusion, I suggest that people evaluate the available
- tools and choose the one which best suits them. That way everyone wins.
-
- Michael
-