diff 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
line wrap: on
line diff
--- a/examples/calculator/Makefile	Sat Aug 23 15:39:29 2008 +0800
+++ b/examples/calculator/Makefile	Sat Aug 23 22:23:44 2008 +0800
@@ -27,7 +27,7 @@
 	m4 -I $(TOOLSDIR) mb_c_header.m4 $(.ALLSRC) > $@
 
 clean:
-	for i in *.mb *.o *~ $(SVG:C/.svg/.c/) $(SVG:C/.svg/.h/) $(BINS); do \
+	for i in *.mb *.o *.core *~ $(SVG:C/.svg/.c/) $(SVG:C/.svg/.h/) $(BINS); do \
 		if [ -e "$$i" ]; then \
 			echo "delete $$i"; \
 			rm -f "$$i"; \