summaryrefslogtreecommitdiff
path: root/sys/src/cmd/usb/mkfile
blob: e2a10c2ea11f21dcd9e09f4948cf8c5974b8b4d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
</$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
	}