shithub: riscv

ref: 8188b4f4f0e07b6669e6ae3c6c1099af917eaab4
dir: /sys/src/libdisk/mkfile/

View raw version
</$objtype/mkfile

OFILES=\
	disk.$O\
	proto.$O\
	scsi.$O\

HFILES=/sys/include/disk.h
LIB=/$objtype/lib/libdisk.a

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\
	${LIB:/$objtype/%=/386/%}\

</sys/src/cmd/mksyslib

$O.test: test.$O $LIB
	$LD -o $target test.$O $LIB