aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2008-09-19 11:55:46 -0700
committerRuss Cox <rsc@golang.org>2008-09-19 11:55:46 -0700
commit72e3b204e4f535a40f8465b8fc2434330496885e (patch)
tree055340b3e873075cb614c76da1988dcb00a4bd63 /src/make.bash
parent26adb31c30252d7a1821f920b845ae35dd9efa3f (diff)
downloadgo-72e3b204e4f535a40f8465b8fc2434330496885e.tar.xz
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/make.bash')
-rwxr-xr-xsrc/make.bash31
1 files changed, 8 insertions, 23 deletions
diff --git a/src/make.bash b/src/make.bash
index b36d515a8b..037457fb8d 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -8,32 +8,17 @@ export MAKEFLAGS=-j4
bash clean.bash
-for i in lib9 libbio libmach_amd64 libregexp
-do
- cd $i
- make install
- cd ..
-done
-
-for i in cmd runtime
-do
- cd $i
- bash make.bash
- cd ..
-done
-
-# do these after go compiler and runtime are built
-for i in syscall
+for i in lib9 libbio libmach_amd64 libregexp cmd runtime syscall lib
do
echo; echo; echo %%%% making $i %%%%; echo
cd $i
- make install
+ case $i in
+ cmd | lib)
+ bash make.bash
+ ;;
+ *)
+ make install
+ esac
cd ..
done
-for i in lib
-do
- cd $i
- bash make.bash
- cd ..
-done