A .gitignore => .gitignore +5 -0
@@ 0,0 1,5 @@
+*.out
+*.[5678]
+cfg
+bld
+/mkfile
M install.rc => install.rc +18 -2
@@ 1,13 1,29 @@
#!/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/6.out -t 9x64 -an vmac | my_project_d='' my_obj_d='' rc
+./setup/$O.out -t $T -an vmac | my_project_d='' my_obj_d='' rc
mk install
rm -rf bld cfg
-./setup/6.out -t 9x64 -an vmac2 -m II | my_project_d='' my_obj_d='' rc
+./setup/$O.out -t $T -an vmac2 -m II | my_project_d='' my_obj_d='' rc
mk install