shithub: ninethings

ref: 3e8831a56c04e4c464b42956a5e2211a67afda7b
dir: /mkfile/

View raw version
</$objtype/mkfile

DIRS=`{echo */mkfile | sed 's,/mkfile *,\n,g'}

</sys/src/cmd/mkmany

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

all:V:
	mk $MKFLAGS all.dirs

font:V:
	cd /lib/font/bit
	hget https://deftly.net/Go-Mono.tar.gz | tar -zxv
	

%.install:V: $BIN/%

install:V:
	cp profile $home/lib/profile
	mk $MKFLAGS install.dirs