shithub: riscv

ref: 7d7e8ae31ac01434c7017afce4eb0a033281a757
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