chiark / gitweb /
subdirmk: Fix bug when target in subdir exists
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2019 01:21:51 +0000 (01:21 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2019 18:38:38 +0000 (18:38 +0000)
commit28aa3f2c1bb682f2e65f9ca6a73d06f7adf18a98
treed9c4b145811c229189d70b0b878ac5bac3da383c
parentd817b49007e60b0e7392f23caf08dc0328eb32de
subdirmk: Fix bug when target in subdir exists

If you try to make a file that exists, the % rule doesn't seem to
match.  But providing the dependency for all of $(MAKCMDGOALS)
works.

We have to mention `all' explicitly because it might not appear in
$(MAKECMDGOALS).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
generate