Formatting target

This commit is contained in:
Imbus 2025-05-12 12:09:50 +02:00
parent c2b9a13235
commit 5392c8e418

View file

@ -21,5 +21,10 @@ tags:
compile_commands.json: compile_commands.json:
bear -- make bear -- make
format:
clang-format -i $(shell git ls-files '*.c' '*.h')
clean: clean:
rm -rf $(OBJ) $(ELF) *.json .cache rm -rf $(OBJ) $(ELF) *.json .cache
.PHONY: format