[Computing]Local projects:- Fossil repositories - jQuery plugins - readline_cpp - parse0x - ptsigslot - shellish - sqlite3x/sq3 - Tech papers - yo5 - zfstream - v8-juice - BPI Remote projects: - s11n - v8-juice - QBoard - SpiderApe - toc Stuff for...: - GNU make - Google v8 - JavaScript - jQuery - sqlite3 | Stuff for GNU MakeGNU Make is "the Make of Makes" - the near-ultimate build tool (or at least the ultimate implementation of "make"). It is one of those tools which is an absolute must-have in my toolbox, and any machine without GNU Make installed is hardly a machine at all. Here you can find a small collection of stuff i have cobbled together for use with GNU Make. If you are unfamiliar with Make, Wikipedia has an interesting article about it. Managing Projects with GNU Make, 3.xth EditionIf you want to get a good grasp of Make's features, O'Reilly's Managing Projects with GNU Make, Third Edition is an excellent resource, especially when used alongside the official GNU Make manual. It is available for purchase as a book (of typical O'Reilly quality) or electronically under the terms of the GNU Free Documentation License. Unfortunately, the publishers "cheat" a bit and make the content available only in PDF and they distribute the document as 22 separate PDFs, which makes the data not only difficult to use, but also difficult to adapt under its "open" license. Frustrated by O'Reilly's cheeky distribution, i have forked a copy of the book and reformatted it in OpenDocument format. The fork contains the entire contents of the 3rd Edition book (except for the index and one now-irrelevant section), all published errata for the book, plus has better intra-document cross-referencing. The long-term intention is to expand upon it, keep it up to date (e.g. continue applying errata as they come up), and include feedback from the user community.The *.gz files below contain not only the docs but also some ready-to-use sample Makefile code.
Alternately, you can grab the book from Subversion by following the instructions at: http://toc.sourceforge.net/book/ If you would like to contribute to the document, please send your feedback to me. ShakeNMakeShakeNMake is a helper makefile which supplies several useful features for single-directory project trees. It is intended to replace the whole configure/make process in source trees for very small, one-shot, or experimental projects. It is intended for use on platforms hosting GNU tools such as gcc, the GNU linker, bash, and GNU sed. It has undergone only limited testing under Cygwin. For the curious: it gets its name from an old American cooking product.ShakeNMake is the very little brother of a full-fledged make-based build suite called toc: the other ./configure. Using ShakeNMake is trivial. Simply copy shake-n-make.make to your project directory and create a Makefile like this:
For a description of how to use all of the provided features, please read the docs in shake-n-make.make. Downloads:This tarball includes a complete demonstration mini-project for ShakeNMake:
System BackupsIn fact, i use GNU Make to generate backups of my Linux workstations. To do so, i implemented a fairly generic makefile which can be used on Unix hosts to generate backups for arbitrary "backup sets", which are user-defined collections of files. The whole process is fully documented in the included Makefile and sets.make, with example backup sets shown in sets.EXAMPLE.make.
|