Mercurial > MadButterfly
comparison examples/svg2code_ex/Makefile @ 91:a0d1ecdaa6a5
clean *.core in makefile.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 23 Aug 2008 22:26:46 +0800 |
parents | 3645e29e4986 |
children | 565b55508c8d |
comparison
equal
deleted
inserted
replaced
90:bd29780bf266 | 91:a0d1ecdaa6a5 |
---|---|
25 | 25 |
26 $(SVG:C/.svg/.h/): $(SVG:C/.svg/.mb/) | 26 $(SVG:C/.svg/.h/): $(SVG:C/.svg/.mb/) |
27 m4 -I $(TOOLSDIR) mb_c_header.m4 $(.ALLSRC) > $@ | 27 m4 -I $(TOOLSDIR) mb_c_header.m4 $(.ALLSRC) > $@ |
28 | 28 |
29 clean: | 29 clean: |
30 for i in *.mb *.o *~ $(SVG:C/.svg/.c/) $(SVG:C/.svg/.h/) $(BINS); do \ | 30 for i in *.mb *.o *.core *~ $(SVG:C/.svg/.c/) $(SVG:C/.svg/.h/) $(BINS); do \ |
31 if [ -e "$$i" ]; then \ | 31 if [ -e "$$i" ]; then \ |
32 echo "delete $$i"; \ | 32 echo "delete $$i"; \ |
33 rm -f "$$i"; \ | 33 rm -f "$$i"; \ |
34 fi; \ | 34 fi; \ |
35 done | 35 done |