diff --git a/Makefile b/Makefile
index 14cd8430f8278e6f3683307d6debc5f85c7de72a..357b3ecb9f2ff744e10a26541090d66f5cae0775 100644
--- a/Makefile
+++ b/Makefile
@@ -34,21 +34,11 @@ debug:
 	rm -f build
 	$(MAKE) build BUILDTYPE=$@
 
-# Meson >= 0.52 will automatically generate a clang-tidy target if a
-# .clang-tidy file is found.
-# Source version check: https://stackoverflow.com/a/3732456/194894
-ifeq ($(shell [ $(MESON_MINOR_VERSION) -ge 52 ] && echo true), true)
-STATIC_ANALYSIS_NINJA_TARGETS += clang-tidy
-else
-$(warning old mesion version $(MESON_VERSION) detected, meson >= 0.52 required for clang-tidy)
-endif
-
 .PHONY: fast-static-analysis
 fast-static-analysis: all check-format check-license doc
 
 .PHONY: static-analysis
-static-analysis: fast-static-analysis iwyu
-	$(NINJA) -C build $(STATIC_ANALYSIS_NINJA_TARGETS)
+static-analysis: fast-static-analysis iwyu tidy
 
 .PHONY: smoke-test-suite
 smoke-test-suite: all