Mercurial > MadButterfly
annotate tools/Makefile.pmake @ 272:01439f28d0bd
Check-in primitive integrated madbuilder code.
author | wycc |
---|---|
date | Mon, 26 Jan 2009 01:36:04 +0800 |
parents | 9008ac31efbd |
children | 586e50f82c1f |
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 |