From 1c582392a7778de06edad5b258e592c803ababdd Mon Sep 17 00:00:00 2001 From: Andrei Horodniceanu Date: Thu, 2 May 2024 20:41:53 +0300 Subject: [PATCH] makefile: fix bin/dfmt-test target Don't call the D compiler with bin/githash.txt as a source file. Signed-off-by: Andrei Horodniceanu --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 881040f..bd36ee0 100644 --- a/makefile +++ b/makefile @@ -40,7 +40,7 @@ test: debug cd tests && ./test.d bin/dfmt-test: bin/githash.txt $(SRC) - $(DC) $(DMD_TEST_FLAGS) $^ -of$@ + $(DC) $(DMD_TEST_FLAGS) $(filter %.d,$^) -of$@ bin/dfmt: bin/githash.txt $(SRC) $(DC) $(DMD_FLAGS) $(filter %.d,$^) -of$@