Makefile: fail on scan-build failure

This commit is contained in:
Kosma Moczek 2022-06-02 22:31:25 +02:00
parent 6b1a15aa29
commit 43ac660db6

View File

@ -18,7 +18,7 @@ test: tests
scan-build: clean scan-build: clean
@echo "+++ Running Clang Static Analyzer..." @echo "+++ Running Clang Static Analyzer..."
scan-build $(MAKE) tests scan-build --status-bugs --keep-going $(MAKE) tests
clean: clean:
$(RM) tests example *.o $(RM) tests example *.o