shithub: riscv

ref: 8be7f27b758ef9ef818f68db0d8bcb7b038eae0e
dir: /sys/src/cmd/nusb/disk/mkfile/

View raw version
</$objtype/mkfile

TARG=disk
OFILES=\
	disk.$O\
	scsireq.$O\
	scsierrs.$O\

HFILES=../lib/usb.h\
	scsireq.h\
	ums.h\

LIB=../lib/usb.a$O

BIN=/$objtype/bin/nusb

</sys/src/cmd/mkone
CFLAGS=-I../lib $CFLAGS
CLEANFILES=scsierrs.c

scsierrs.c: /sys/lib/scsicodes mkscsierrs
	./mkscsierrs >scsierrs.c