NPROC=1 mk
</objtype/mkfile # architecture-dependent definitions
variable definitions # TARG, OFILES, HFILES, etc.
</sys/src/cmd/generic # mkone, mkmany, mklib, or mksyslib
variable overrides # CFLAGS, objtype, etc.
extra rules # overrides, augmented rules, additional targets
file.O: header.h
< /objtype/mkfile TARG=diff OFILES=\ diffdir.O\ diffio.O\ diffreg.O\ main.O\ HFILES=diff.h BIN=/objtype/bin </sys/src/cmd/mkone
</
</objtype/mkfile TARG=alpha beta OFILES=common.O BIN=/objtype/bin </sys/src/cmd/mkmany
</objtype/mkfile LIB=libString.aO OFILES= s_alloc.O\ s_append.O\ s_array.O\ s_copy.O\ s_getline.O\ s_grow.O\ s_nappend.O\ s_parse.O\ s_read.O\ s_read_line.O\ s_tolower.O\ </sys/src/cmd/mklib nuke:V: mk clean rm -f libString.a[OS]
%.O: header.h
</
installall:V: ncform.install ncform.install:V: cp ncform /sys/lib/lex