shithub: minivmac

ref: d488fabe62aabd0d42421eb3e423a9308ae1fa13
dir: /install.rc/

View raw version
#!/bin/rc
rfork ne

if(~ $objtype amd64){
	O=6
	T=9x64
}
if(~ $objtype 386){
	O=8
	T=9x86
}
if(~ $objtype arm){
	O=5
	T=9arm
}
if(~ $objtype arm64){
	O=7
	T=9a64
}
cd setup
mk clean
mk all
cd ..
rm -rf bld cfg
./setup/$O.out -t $T -an vmac | my_project_d='' my_obj_d='' rc
mk install
rm -rf bld cfg
./setup/$O.out -t $T -an vmac2 -m II | my_project_d='' my_obj_d='' rc
mk install