/sys/src/cmd/mkfile
% cat >/sys/lib/dist/changes/1176521407.113.txt << EOF
Bootstrap compilers with new version before compiling them.
EOF
[geoff] --rw-rw-r-- M 152 glenda sys 2674 Apr 13 23:22 sys/src/cmd/mkfile
/n/sourcesdump/2007/0413/plan9/sys/src/cmd/mkfile:123,138 -
/n/sources/plan9/sys/src/cmd/mkfile:123,139
update $stem.c /386/bin/$stem
compilers:V:
- @{
- cd cc
- mk clean
- mk installall
- mk clean
- }
for(i in ?c)
- if(! ~ $i cc rc) @{
- cd $i;
- mk clean
- mk installall
- mk clean
- }
+ if(! ~ $i cc rc) @{
+ cd $i
+ mk clean
+ objtype=$cputype mk install
+ mk clean
+ }
+ for(i in ?c)
+ if(! ~ $i cc rc) @{
+ cd $i
+ mk clean
+ mk installall
+ mk clean
+ }
|