diff --git a/makefile b/makefile index ffcc0d0..0503c93 100644 --- a/makefile +++ b/makefile @@ -43,6 +43,9 @@ flash: $(TARGET).hex qemu: $(TARGET).elf qemu-system-avr -machine $(QEMU_MACHINE_NAME) -bios $(TARGET).elf +format: + find . -type f \( -name "*.c" -o -name "*.h" \) -exec clang-format -i {} + + # Clean clean: rm -f $(OBJS) $(TARGET).elf $(TARGET).hex