added jam build system, please try it out - the advantage would be that it already...
[supertux.git] / mk / jam / groups.jam
1 #============================================================================
2 # Rules for building compile groups
3 #============================================================================
4
5 ##  CompileGroups target : groups
6 ##    Adds a target to a list of compile groups. A compile group is a virtual
7 ##    target which combines several targets. This is usefull for things like a
8 ##    creating a target which compiles all image loaders, all renderers, ...
9 rule CompileGroups
10 {
11   local _i ;
12
13   for _i in $(>)
14   {
15     Depends $(_i) : $(<) ;
16     Depends $(_i)clean : $(<)clean ;
17   }
18 }
19
20 ##  RegisterCompileGroups
21 ##    Registers compilegroups. You must specify all compile groups here before
22 ##    can use them.
23 rule RegisterCompileGroups
24 {
25 # nothing here (but msvcgen will override this)
26 }
27