Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/cmd/usb/mkfile

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


</$objtype/mkfile

# order matters here.  build lib first and usbd last.
DIRS=\
	lib\
	audio\
	disk\
	ether\
	kb\
	print\
	serial\
	usbd\

UPDATE=\
	mkfile\

default:V: all

none:VQ:
	echo mk all, install, installall, safeinstall, safeinstallall, clean, nuke, or update

all clean nuke:VQ:
	for (i in $DIRS) @{
		cd $i && echo $i: && mk $target
	}

install installall safeinstall safeinstallall:V:
	for (i in $DIRS) @{
		cd $i && mk $target
	}
	cp probe /$objtype/bin/usb/probe

update:V:
	update $UPDATEFLAGS $UPDATE
	for (i in $DIRS) @{
		echo update $i
		cd $i && mk 'UPDATEFLAGS='$"UPDATEFLAGS update
	}

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].