Format target
This commit is contained in:
parent
3a476fa195
commit
3450ab2cb8
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -53,6 +53,9 @@ clean:
|
|||
rm -f *.o *.elf *.d lib/*.o lib/*.d
|
||||
find . -type f -name '*.[od]' -exec rm -f {} +
|
||||
|
||||
format:
|
||||
find . -type f -name '*.[ch]' -exec clang-format -i {} +
|
||||
|
||||
-include *.d
|
||||
|
||||
.PHONY: all
|
||||
|
|
Loading…
Add table
Reference in a new issue