Mercurial > MadButterfly
comparison examples/calculator/Makefile @ 90:bd29780bf266
Reduce redundant code
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 23 Aug 2008 22:23:44 +0800 |
parents | dd813dcc232c |
children | 565b55508c8d |
comparison
equal
deleted
inserted
replaced
89:90428161fc61 | 90:bd29780bf266 |
---|---|
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 |