Plan 9 from Bell Labs’s /usr/web/sources/patch/sorry/doc-man-4-usb-usbstart-usbprinter/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


</$objtype/mkfile

TARG=\
	usbmouse\
#	readir\

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

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

UPDATE=\
	$HFILES\
	${OFILES:%.$O=%.c}\
	mkfile\
	usbprinter\
	usbprobe\

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

CFLAGS=-I../lib $CFLAGS

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

$BIN/usbprinter: usbprinter
	cp -x $newprereq $target
$BIN/usbprobe: usbprobe
	cp -x $newprereq $target

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].