tidy makefile target to run clang-tidy
This commit is contained in:
parent
ea100383d7
commit
6022bdee92
1 changed files with 3 additions and 0 deletions
3
Makefile
3
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue