shithub: riscv

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

View raw version
</$objtype/mkfile

TARG=ether
OFILES=\
	main.$O\

LIBDOFILES=\
	ether.$O\
	asix.$O\
	cdc.$O\

HFILES=\
	ether.h\
	../lib/usb.h\
	../lib/usbfs.h\

LIBD=../lib/usbdev.a$O
LIBU=../lib/usb.a$O
LIB=\
	$LIBD\
	$LIBU\

BIN=/$objtype/bin/usb

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

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

$LIBD:V: $LIBDOFILES
	ar vu $LIBD $newprereq
	rm $newprereq