</$objtype/mkfile
TARG=\
usbmouse\
# readir\
HFILES=\
../lib/usb.h\
LIB=../lib/usb.a$O
UPDATE=\
$HFILES\
${OFILES:%.$O=%.c}\
mkfile\
usbprint\
usbprobe\
BIN=/$objtype/bin/usb
</sys/src/cmd/mkmany
CFLAGS=-I../lib $CFLAGS
$LIB:
cd ../lib
mk install
mk clean
$BIN/usbprint: usbprint
cp -x $newprereq $target
$BIN/usbprobe: usbprobe
cp -x $newprereq $target
|