1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:24:44 -07:00

build: simplify clean.bash

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4257045
This commit is contained in:
Dave Cheney 2011-03-02 14:57:47 -05:00 committed by Russ Cox
parent f104a198e4
commit 49a4d7dc39
3 changed files with 17 additions and 12 deletions

View File

@ -22,11 +22,6 @@ rm -f "$GOROOT"/lib/*.a
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

14
test/bench/Makefile Normal file
View File

@ -0,0 +1,14 @@
# 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]

View File

@ -1,4 +0,0 @@
#!/bin/sh
OS=568
rm -f [$OS].out *.[$OS]