fix: Sparse executing one-by-one is more of an issue than a help.

This causes the makefile to stop execution as soon as sparse fails,
hiding errors in any other file.
This commit is contained in:
2026-01-22 15:19:32 +01:00
parent 4679d6bbc5
commit 401d7acc69

View File

@@ -73,13 +73,11 @@ install-strip: bin/mcaselector-lite.stripped
uninstall: uninstall:
$(RM) $(DESTDIR)/bin/$(NAME) $(RM) $(DESTDIR)/bin/$(NAME)
# Executes checks upon the code.
# The standard requires code to already be built at this stage.
# This isn't necessary for this, but may be added in the future,
# if so add the binary in the prerequisites.
.PHONY: .PHONY:
check: $(SRC) check-sparse: $(SRC)
$(Q)$(SPARSE) $(CPPFLAGS) $< $(foreach f,$(SRC),\
-$(Q)$(SPARSE) $(CPPFLAGS) $f\
)
.PHONY: .PHONY:
clean: clean: