Formatting target
This commit is contained in:
parent
c2b9a13235
commit
5392c8e418
1 changed files with 5 additions and 0 deletions
5
Makefile
5
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
|
||||
|
|
Loading…
Add table
Reference in a new issue