From 28aa3f2c1bb682f2e65f9ca6a73d06f7adf18a98 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 Nov 2019 01:21:51 +0000 Subject: [PATCH] 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 --- generate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate b/generate index f46747d..1787546 100755 --- a/generate +++ b/generate @@ -99,7 +99,7 @@ sub write_makefile ($$) { my $cd = $depth ? join('/', ('..',) x $depth) : '.'; o <