</$objtype/mkfile LIB=cc.a$OOFILES=\ y.tab.$O\ lex.$O\ mac.$O\ dcl.$O\ acid.$O\ pickle.$O\ bits.$O\ com.$O\ con.$O\ funct.$O\ sub.$O\ com64.$O\ compat.$O\ dpchk.$O\ HFILES=cc.h\ y.tab.h\ YFILES=cc.y\ </sys/src/cmd/mklib install:V: $LIB date $LIB: $LIBOBJ ar vu $LIB $OFILES mac.$O: macbody everything:V: # mk the current compilers for(DIR in cc 8c vc qc){ cd ../$DIR mk nuke mk install } # mk all the others with those for(DIR in cc 0c 1c 2c 4c 5c 6c 7c 8c 9c kc qc vc xc){ cd ../$DIR mk nuke mk installall mk clean }
</$objtype/mkfile
LIB=cc.a$O
OFILES=\
y.tab.$O\
lex.$O\
mac.$O\
dcl.$O\
acid.$O\
pickle.$O\
bits.$O\
com.$O\
con.$O\
funct.$O\
sub.$O\
com64.$O\
compat.$O\
dpchk.$O\
HFILES=cc.h\
y.tab.h\
YFILES=cc.y\
</sys/src/cmd/mklib
install:V: $LIB
date
$LIB: $LIBOBJ
ar vu $LIB $OFILES
mac.$O: macbody
everything:V:
# mk the current compilers
for(DIR in cc 8c vc qc){
cd ../$DIR
mk nuke
mk install
}
# mk all the others with those
for(DIR in cc 0c 1c 2c 4c 5c 6c 7c 8c 9c kc qc vc xc){
cd ../$DIR
mk nuke
mk installall
mk clean
}