cc: [EMAIL PROTECTED] Subject: Re: Re: [ast-users] exploiting parallelism using ksh? --------
> It looks to me as if the best solution is probably to write the test > scripts using nmake (or mk) with ksh in the action blocks (resp. recipes). > I just revisited the nmake web pages and I left with the same > impression I always have---the claimed features are most alluring, yet > there is a little more complexity there than I can easily wrap my head > around. I always wind up falling back to Andrew Hume's mk, which to > my way of thinking is the simplest and best engineered modern Make. > I particularly admire Andrew's decision that mk variables are shell > variables, so there's no messing around with $(funny-character). > $target instead of $(<) for example. > > If anybody can recommend what to read to learn better about nmake, I > would like to know. Anything that can eliminate autoconf and > configure and that can handle recursive make well is worth learning. > > mk vs. nmake was kicked around for some time around 20 years ago and nmake won. nmake was able to scale up better to large projects. Most of the complexity of nmake is related to the language it uses to construct rules for projects and new languages. Special variables such as $(<) and $(>) are not used very frequently. Most of what you need to know is contained in the introduction to nmake ast http://www.research.att.com/~gsf/nmake. Since nmake is able to handle files in multiple directories, recursive makefiles are often not needed. However, for a collection of independent tools, nmake is able to scan the makefiles is the directories and decide the order to build the tools underneath. The equivalent of autoconf and configure is iffe (IF Feature Exists) which is a small language that allows you to ask questions such as does the library rountine exist in library x, or does this symbol exist in header y. David Korn [EMAIL PROTECTED] _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
