annotate Makefile @ 151:d11aa8fc06c7

Fix bug of tanks do not show at right places. Since we avoid to dirty a subtree if root of a subtree have been dirty or hidden, it make children that was added into coord tree after a coord be dirty do not be marked with COF_DIRTY flag. To fix it, when a new coord is created, the parent is checked and mark new coord with COF_DIRTY flag if the parent is dirty. It forces new coords to be cleaned and transformed to right places.
author Thinker K.F. Li <thinker@branda.to>
date Fri, 26 Sep 2008 17:42:16 +0800
parents 9af23d9584d8
children
rev   line source
134
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
1 SUBDIRS= src tools
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
2
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
3 all:
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
4 .for i in $(SUBDIRS)
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
5 @echo "==> Enter subdirectory $(i)"
136
9af23d9584d8 Using $(MAKE) instead of make
Thinker K.F. Li <thinker@branda.to>
parents: 134
diff changeset
6 @cd ${i}; $(MAKE) $@
134
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
7 @echo "<== Leave subdirectory $(i)"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
8 .endfor
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
9
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
10 install:
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
11 .for i in $(SUBDIRS)
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
12 @echo "==> Enter subdirectory $(i)"
136
9af23d9584d8 Using $(MAKE) instead of make
Thinker K.F. Li <thinker@branda.to>
parents: 134
diff changeset
13 @cd ${i}; $(MAKE) $@
134
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
14 @echo "<== Leave subdirectory $(i)"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
15 .endfor
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
16
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
17 clean:
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
18 .for i in $(SUBDIRS)
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
19 @echo "==> Enter subdirectory $(i)"
136
9af23d9584d8 Using $(MAKE) instead of make
Thinker K.F. Li <thinker@branda.to>
parents: 134
diff changeset
20 @cd ${i}; $(MAKE) $@
134
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
21 @echo "<== Leave subdirectory $(i)"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
22 .endfor