diff --git a/Makefile b/Makefile index 4ba2f9f..e1296cf 100644 --- a/Makefile +++ b/Makefile @@ -21,5 +21,10 @@ tags: compile_commands.json: bear -- make +format: + clang-format -i $(shell git ls-files '*.c' '*.h') + clean: rm -rf $(OBJ) $(ELF) *.json .cache + + .PHONY: format