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:
parent
f104a198e4
commit
49a4d7dc39
@ -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
14
test/bench/Makefile
Normal 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]
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
OS=568
|
||||
rm -f [$OS].out *.[$OS]
|
Loading…
Reference in New Issue
Block a user