for i in lib9 libbio libmach cmd pkg \
../misc/cgo/gmp ../misc/cgo/stdio \
../test/bench ../test/garbage
-do(
- cd "$GOROOT"/src/$i || exit 1
- if test -f clean.bash; then
- bash clean.bash --gomake $MAKE
- else
- $MAKE clean
- fi
-)done
+do
+ gomake -C "$GOROOT/src/$i" clean
+done
--- /dev/null
+# Copyright 2011 The Go Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+include ../../src/Make.inc
+
+all:
+ @echo "make clean or timing"
+
+timing:
+ ./timing.sh
+
+clean:
+ rm -f [568].out *.[568]