Mercurial > MadButterfly
annotate tools/Makefile @ 145:609ed47a58f2
Decrease number of malloc().
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 25 Sep 2008 02:13:50 +0800 |
parents | 4d2e28188460 |
children |
rev | line source |
---|---|
134 | 1 BINS= svg2code.py |
2 M4SCRIPTS= mb_c_header.m4 mb_c_source.m4 foreach.m4 | |
3 PREFIX?= /usr/local/ | |
4 | |
5 all: | |
6 | |
7 install: | |
8 .for i in $(BINS) | |
9 $(INSTALL) -m 755 ${i} ${PREFIX}bin/ | |
10 .endfor | |
11 $(INSTALL) -d ${PREFIX}share/mb | |
12 .for i in $(M4SCRIPTS) | |
13 $(INSTALL) ${i} ${PREFIX}share/mb/ | |
14 .endfor | |
15 | |
16 clean: | |
17 for i in *~; do \ | |
18 echo "delete $$i"; rm -f $$i; \ | |
19 done |