Format target

This commit is contained in:
Imbus 2025-02-05 14:12:07 +01:00
parent 84cd6bf99e
commit f43efe2079

View file

@ -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