</$objtype/mkfile
TARG=ether
OFILES=\
main.$O\
LIBDOFILES=\
ether.$O\
asix.$O\
smsc.$O\
lan78xx.$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
|