From f43efe2079f75490e598c871dfef7febcf683748 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 5 Feb 2025 14:12:07 +0100 Subject: [PATCH] Format target --- makefile | 3 +++ 1 file changed, 3 insertions(+) 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