shithub: minivmac

ref: 649e0914486b43f31c89f8d17efc16d9df120198
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