diff --git a/Makefile b/Makefile index e99f2a0..39c8c74 100644 --- a/Makefile +++ b/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