tidy makefile target to run clang-tidy

This commit is contained in:
Imbus 2024-07-02 06:33:00 +02:00
parent ea100383d7
commit 6022bdee92

View file

@ -57,6 +57,9 @@ asm: $(ASMS) $(OBJECTS)
wc -l $(ASMS) wc -l $(ASMS)
size $(OBJECTS) size $(OBJECTS)
tidy:
@clang-tidy $(C_SOURCES) -- $(CFLAGS)
format: format:
clang-format -i $(C_SOURCES) $(C_HEADERS) clang-format -i $(C_SOURCES) $(C_HEADERS)