mirror of
https://github.com/thepigeongenerator/mcaselector-lite
synced 2026-02-07 23:28:09 +01:00
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:
10
Makefile
10
Makefile
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user