From 6022bdee9245200bcad638298a4f14483bce7fa4 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Tue, 2 Jul 2024 06:33:00 +0200 Subject: [PATCH] tidy makefile target to run clang-tidy --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 760129d..6b1324e 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,9 @@ asm: $(ASMS) $(OBJECTS) wc -l $(ASMS) size $(OBJECTS) +tidy: + @clang-tidy $(C_SOURCES) -- $(CFLAGS) + format: clang-format -i $(C_SOURCES) $(C_HEADERS)