summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-10-25 16:54:59 -0700
committerRuss Cox <rsc@golang.org>2010-10-25 16:54:59 -0700
commitd7a8cf27408fdfabc3f1ef94a58a832ac71ae60e (patch)
treefcf866574e3d5ec4b0a756e20623bbf368dbe8c9
parent0f3e9003a526e96cd1f04f340254088271deed0c (diff)
downloadgo-d7a8cf27408fdfabc3f1ef94a58a832ac71ae60e.tar.gz
runtime: remove .c generated from .goc during make clean
R=r CC=golang-dev http://codereview.appspot.com/2704042
-rw-r--r--src/pkg/runtime/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/Makefile b/src/pkg/runtime/Makefile
index 643f4572b..4c8d54981 100644
--- a/src/pkg/runtime/Makefile
+++ b/src/pkg/runtime/Makefile
@@ -116,7 +116,7 @@ $(pkgdir)/%.h: %.h
clean: clean-local
clean-local:
- rm -f goc2c mkversion version.go */asm.h runtime.acid.*
+ rm -f goc2c mkversion version.go */asm.h runtime.acid.* $$(ls *.goc | sed 's/goc$$/c/')
$(GOARCH)/asm.h: mkasmh.sh runtime.acid.$(GOARCH)
./mkasmh.sh >$@.x