Skip to content

Commit

Permalink
makefile: fix bin/dfmt-test target
Browse files Browse the repository at this point in the history
Don't call the D compiler with bin/githash.txt as a source file.

Signed-off-by: Andrei Horodniceanu <[email protected]>
  • Loading branch information
the-horo authored and WebFreak001 committed May 11, 2024
1 parent fa463b4 commit 5ea76cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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$@
Expand Down

0 comments on commit 5ea76cd

Please sign in to comment.