Format target
This commit is contained in:
parent
84cd6bf99e
commit
f43efe2079
1 changed files with 3 additions and 0 deletions
3
makefile
3
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
|
||||
|
|
Loading…
Add table
Reference in a new issue