On Fri, Nov 27, 2009 at 10:58:22AM +1300, Paul M wrote: > It deals mainly with gnu make, but the principles are the same.
No. The book Managing Projects With GNU Make http://www.amazon.com/dp/0596006101 by Robert Mecklenburg and published by O'Reilly in 2004 deals mainly with GNU make, and isn't very useful for OpenBSD users. But the book Managing Projects With Make http://www.amazon.com/dp/0937175900 by Andrew Oram and Steve Talbott, and last published by O'Reilly in 1993, deals with System V Release 4 make. The authors of that book state that they "have tried to be careful to include caveats for features that might not have made it on to some systems--particularly the Berkeley Standard Distribution (BSD)". They also outline differences with GNU make (and other versions) in the appendices. Managing Projects With Make was one of the earliest Unix books published by O'Reilly (maybe the first O'Reilly Unix book?), and it's probably still the best introduction to generic make. It was even referenced on the man page for make in HP-UX. http://docs.hp.com/en/B3921-90010/make.1.html

