shithub: riscv

ref: 6fa3e08412c49a188e2abe7d9ee54cd1f37a85f5
dir: /sys/src/cmd/upas/ml/mkfile/

View raw version
</$objtype/mkfile
<../mkupas

TARG=ml\
	mlowner\
	mlmgr\

OFILES=\
	common.$O\

LIB=../common/libcommon.a$O\

UHFILES= ../common/common.h\
	../common/sys.h\
	dat.h\

HFILES=$UHFILES\
	../smtp/y.tab.h\

LIB=../common/libcommon.a$O\

UPDATE=\
	mkfile\
	$UHFILES\
	${TARG:%=%.c}\
	${OFILES:%.$O=%.c}\
	../smtp/rfc822.y\

</sys/src/cmd/mkmany
CFLAGS=$CFLAGS -I../common

$O.ml: ../smtp/rfc822.tab.$O
$O.mlowner: ../smtp/rfc822.tab.$O

../smtp/y.tab.h ../smtp/rfc822.tab.$O:
	cd ../smtp && mk rfc822.tab.$O