Writing Makefiles

Bill Campbell linux-sxs at celestial.com
Tue Jan 29 09:38:37 PST 2008


On Tue, Jan 29, 2008, Steve Jardine wrote:
>Heya,

>Can anyone point me to an in-depth tutorial for writing Makefiles? It seems
>like voodoo black magic to me. It is easier to write shell scripts to do a
>minimal cross-compile, but my company will want Makefiles.

>Ideas anyone? Hey, any tutorial will be a good start! Man pages are, well
>explanatory challenged...

There's a New Riders book devoted to the GNU autotools and Makefiles, ``GNU
Autoconf, Automake, and Libtool'' which covers this.

I first learned about writing Makefiles in Kernighan and Pike's
book ``The Unix Programming Environment''.

Bill
--
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

If the personal freedoms guaranteed by the Constitution inhibit the
government's ability to govern the people, we should look to limit those
guarantees.  -- President Bill Clinton, August 12, 1993



More information about the Linux-users mailing list