annotate tools/Makefile.pmake @ 296:2e97e8082d83

* Fix the symbol definition code which does not assume the id is the same as the mbname. * Add appleTV style list demo. We need to add animation latter. It is staic for now.
author wycc
date Sun, 01 Feb 2009 16:28:28 +0800
parents 9008ac31efbd
children 586e50f82c1f
rev   line source
134
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
1 BINS= svg2code.py
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
2 M4SCRIPTS= mb_c_header.m4 mb_c_source.m4 foreach.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
3 PREFIX?= /usr/local/
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
4
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
5 all:
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
6
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
7 install:
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
8 .for i in $(BINS)
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
9 $(INSTALL) -m 755 ${i} ${PREFIX}bin/
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
10 .endfor
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
11 $(INSTALL) -d ${PREFIX}share/mb
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
12 .for i in $(M4SCRIPTS)
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
13 $(INSTALL) ${i} ${PREFIX}share/mb/
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
14 .endfor
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
15
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
16 clean:
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
17 for i in *~; do \
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
18 echo "delete $$i"; rm -f $$i; \
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
19 done