plan9port/src/cmd/mk
Russ Cox 44eb208829 mk: avoid infinite loop when targets are repeated
Fixes "mk -f /tmp/x.mk y x" or "mk -f /tmp/x.mk" where /tmp/x.mk is:

x y x: f
	echo hi

Change-Id: I7fa87dc4750c04fdba010b990c190722b432b333
Reviewed-on: https://plan9port-review.googlesource.com/1361
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-08-27 00:36:40 +00:00
..
arc.c 64-bit 2006-04-20 22:54:18 +00:00
archive.c 64-bit 2006-04-20 22:54:18 +00:00
bufblock.c
env.c 64-bit 2006-04-20 22:54:18 +00:00
file.c 64-bit 2006-04-20 22:54:18 +00:00
fns.h
graph.c 64-bit 2006-04-20 22:54:18 +00:00
job.c
lex.c
main.c
match.c
mk.c mk: pass environment to P command 2011-08-27 23:06:15 -04:00
mk.h mk: avoid infinite loop when targets are repeated 2015-08-27 00:36:40 +00:00
mk.pdf
mkfile
mkfile.test
NOTICE
parse.c
rc.c better rc detection (Michael Teichgräber) 2007-03-26 13:38:36 +00:00
README
recipe.c mk: avoid infinite loop when targets are repeated 2015-08-27 00:36:40 +00:00
rule.c avoid broken print (Gabriel Diaz) 2006-10-12 03:18:22 +00:00
run.c 64-bit 2006-04-20 22:54:18 +00:00
sh.c
shell.c
shprint.c
symtab.c 64-bit 2006-04-20 22:54:18 +00:00
sys.h
sys.std.h unix fix 2007-04-21 22:36:01 +00:00
unix.c 64-bit 2006-04-20 22:54:18 +00:00
var.c 64-bit 2006-04-20 22:54:18 +00:00
varsub.c fix empty string interpolation bugs (Michael Teichgräber) 2007-03-26 17:27:08 +00:00
word.c fix empty string interpolation bugs (Michael Teichgräber) 2007-03-26 17:27:08 +00:00

This is a Unix port of mk,
originally done for the Inferno operating system.

Russ Cox repackaged this to build as a standalone
Unix program.  Send comments about packaging to
Russ Cox <rsc@post.harvard.edu>