shithub: riscv

ref: 52cacba37c6f3a125ef931afa4b9c2cdb7438fef
dir: /sys/src/cmd/nusb/disk/mkfile/

View raw version
</$objtype/mkfile

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

HFILES =\
	scsireq.h\
	../lib/usb.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