annotate tools/Makefile.pmake @ 271:c990a9a9648f

Fix bug of calculator. - calc can not handle button press event. - It caused by miss-understanding event_t::cur_tgt. It is a subject, not a shape that calc think. - event_t::cur_tgt::obj is a shape that calc want. It is a the subject that the subject stands for.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 25 Jan 2009 23:03:18 +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