Plan 9 from Bell Labs’s /usr/web/sources/contrib/boyd/sys/src/cmd/cc/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


</$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\
	machcap.$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 1c 2c 5c 7c 8c kc qc vc){
		cd ../$DIR
		mk nuke
		mk installall
		mk clean
	}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].