mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-20 21:34:28 -05:00
9a6a790715
Signed-off-by: Daniel Lublin <daniel@lublin.se>
10 lines
238 B
Makefile
10 lines
238 B
Makefile
# Uses ../.clang-format
|
|
FMTFILES=main.c
|
|
.PHONY: fmt
|
|
fmt:
|
|
clang-format --dry-run --ferror-limit=0 $(FMTFILES)
|
|
clang-format --verbose -i $(FMTFILES)
|
|
.PHONY: checkfmt
|
|
checkfmt:
|
|
clang-format --dry-run --ferror-limit=0 --Werror $(FMTFILES)
|