shithub: riscv

ref: 1216c06c3bdf3f3fb953ec96de99e026ef318360
dir: /sys/src/cmd/acme/mkfile/

View raw version
</$objtype/mkfile
BIN=/$objtype/bin

TARG=acme

OFILES=\
	acme.$O\
	addr.$O\
	buff.$O\
	cols.$O\
	disk.$O\
	ecmd.$O\
	edit.$O\
	elog.$O\
	exec.$O\
	file.$O\
	fsys.$O\
	look.$O\
	regx.$O\
	rows.$O\
	scrl.$O\
	text.$O\
	time.$O\
	util.$O\
	wind.$O\
	xfid.$O\

HFILES=dat.h\
	edit.h\
	fns.h\

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\

</sys/src/cmd/mkone

$O.out:	/$objtype/lib/libframe.a /$objtype/lib/libdraw.a /$objtype/lib/libthread.a

edit.$O ecmd.$O elog.$O:	edit.h

syms:V:
	$CC -a acme.c > syms
	for(i in ????.c) $CC -aa $i >> syms