2011-03-30 12:46:40 +00:00
|
|
|
</$objtype/mkfile
|
|
|
|
|
|
|
|
LIB=cc.a$O
|
|
|
|
OFILES=\
|
|
|
|
y.tab.$O\
|
|
|
|
lex.$O\
|
|
|
|
mac.$O\
|
|
|
|
dcl.$O\
|
|
|
|
acid.$O\
|
|
|
|
pickle.$O\
|
|
|
|
bits.$O\
|
|
|
|
com.$O\
|
|
|
|
scon.$O\
|
|
|
|
funct.$O\
|
|
|
|
sub.$O\
|
|
|
|
com64.$O\
|
|
|
|
compat.$O\
|
|
|
|
dpchk.$O\
|
|
|
|
omachcap.$O\
|
|
|
|
|
|
|
|
HFILES=cc.h\
|
2020-04-11 03:03:49 +00:00
|
|
|
compat.h\
|
2011-03-30 12:46:40 +00:00
|
|
|
y.tab.h\
|
|
|
|
|
|
|
|
YFILES=cc.y\
|
|
|
|
|
|
|
|
CURCC=6c 8c qc vc
|
|
|
|
OTHERCC=1c 2c 5c 7c kc
|
|
|
|
|
|
|
|
</sys/src/cmd/mklib
|
|
|
|
|
|
|
|
install:V: $LIB
|
|
|
|
date
|
|
|
|
|
|
|
|
$LIB: $LIBOBJ
|
|
|
|
ar vu $LIB $OFILES
|
|
|
|
|
2020-04-11 03:03:49 +00:00
|
|
|
mac.$O: macbody
|
|
|
|
|
|
|
|
compat.$O: compat
|
2011-03-30 12:46:40 +00:00
|
|
|
|
|
|
|
everything:V:
|
|
|
|
# mk the current compilers
|
|
|
|
for(DIR in cc $CURCC){
|
|
|
|
cd ../$DIR
|
|
|
|
mk nuke
|
|
|
|
mk install
|
|
|
|
}
|
|
|
|
# mk all the others with those
|
|
|
|
for(DIR in cc $CURCC $OTHERCC){
|
|
|
|
cd ../$DIR
|
|
|
|
mk nuke
|
|
|
|
mk installall
|
|
|
|
mk clean
|
|
|
|
}
|