shithub: riscv

ref: cde40efb0cd56b9b63b4096df46edead40291c42
dir: /sys/src/cmd/usb/audio/mkfile/

View raw version
</$objtype/mkfile

TARG=audio
OFILES=\
	audiofs.$O\
	audiosub.$O\
	audio.$O\
	audioctl.$O\

HFILES=\
	audio.h\
	audioctl.h\
	../lib/usb.h\

UPDATE=\
	$HFILES\
	${OFILES:%.$O=%.c}\
	mkfile\
	/sys/man/3/usb\

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

BIN=/$objtype/bin/usb
</sys/src/cmd/mkone

CFLAGS=-I../lib $CFLAGS

$LIB:
	cd ../lib
	mk install
	mk clean