shithub: ninethings

ref: 3f4f98a7ad3216919cd6ff61b61312ec54217fe0
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

%.install:V: $BIN/%

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