diff --git a/Makefile b/Makefile index e45edf9..95d9470 100644 --- a/Makefile +++ b/Makefile @@ -55,3 +55,6 @@ format: clean: rm -f $(OBJS) $(TARGET).elf $(TARGET).hex +# Format source and headers +format: + find . -iname "*.[ch]" | xargs clang-format -i