6 messages in com.perforce.jamming[jamming] Jam examples
FromSent OnAttachments
Russell14 Jan 2003 23:01 
Russell14 Jan 2003 23:58 
Matt Armstrong15 Jan 2003 07:53 
Robert Cowham15 Jan 2003 09:30 
Russell15 Jan 2003 20:39 
Russell15 Jan 2003 22:41 
Subject:[jamming] Jam examples
From:Matt Armstrong (ma@lickey.com)
Date:01/15/2003 07:53:25 AM
List:com.perforce.jamming

Russell <rjs@iprimus.com.au> writes:

Hi, I just read all the jam html docs. Are there any smallish jam examples for a C program? It's hard to learn a new language and apply it at the same time. It seems to be a much better thing to use than 'make'. Make is a pain. I'm using debian.

An example for a multi-directory project would be useful: http://frankenrouter.perforce.com/lists/jamming/msg00600.html

I'm not aware of one. All of my jam knowledge comes from using a heavily customized Jambase (which seems to be fairly common).

But multi-directory projects introduce 3 new things:

Using the SubInclude rule. Using the SubDir rule. "grist"

If you understand those three things, you have it. (and "grist" can usually be ignored until you want to do something non-standard).