diff options
author | Russ Cox <rsc@golang.org> | 2008-09-19 11:55:46 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2008-09-19 11:55:46 -0700 |
commit | e24a129c947cde976e3402c907f6378721b733b4 (patch) | |
tree | 055340b3e873075cb614c76da1988dcb00a4bd63 /src/clean.bash | |
parent | f3765832701928775c2bb39d5925457dc1a74ac5 (diff) | |
download | go-e24a129c947cde976e3402c907f6378721b733b4.tar.gz |
add gobuild.
use gobuild-generated Makefile for math and os.
other makefile tweaks.
move math/main.go to test/math.go
R=r
OCL=15529
CL=15537
Diffstat (limited to 'src/clean.bash')
-rwxr-xr-x | src/clean.bash | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/clean.bash b/src/clean.bash index cba2129cf..36b0c99fb 100755 --- a/src/clean.bash +++ b/src/clean.bash @@ -3,16 +3,15 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -for i in lib9 libbio libmach_amd64 libregexp syscall +for i in lib9 libbio libmach_amd64 libregexp syscall cmd runtime lib do cd $i - make clean - cd .. -done - -for i in cmd runtime lib -do - cd $i - bash clean.bash + case $i in + cmd | lib) + bash clean.bash + ;; + *) + make clean + esac cd .. done |