shithub: riscv

ref: d5e2fd9028687dfc18c0ac1b249ccec38ab075f6
dir: /sys/src/cmd/disk/mkfile/

View raw version
</$objtype/mkfile

TARG=exsort\
	format\
	mbr\
	mkext\
	mkfs\
	partfs\
	cryptsetup\
	qcowfs\

DIRS=\
	9660\
	prep\
	smart\
#	sacfs\
	vblade\

OFILES=

BIN=/$objtype/bin/disk

UPDATE=\
	mkfile\
	${TARG:%=%.c}\
	/sys/man/8/prep\
	/sys/man/8/mkfs\
	${TARG:%=/386/bin/disk/%}\

</sys/src/cmd/mkmany

all:V:	all-dirs

install:V:	install-dirs

clean:V:	clean-dirs

nuke:V:		nuke-dirs

installall:V:	installall-dirs

%-dirs:V:
	for(i in $DIRS) @{
		cd $i
		mk $MKFLAGS $stem
	}

$O.format: /$objtype/lib/libdisk.a