Make fmt output changes that will be made

This commit is contained in:
Daniel Lublin 2022-09-21 10:12:55 +02:00
parent 7f67025e92
commit 8066c1092e
No known key found for this signature in database
GPG Key ID: 75BD0FEB8D3E7830
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,6 @@
FMTFILES=main.c lib.h lib.c proto.h proto.c types.h
.PHONY: fmt
fmt:
# Uses ../.clang-format
clang-format --verbose -i main.c lib.h lib.c proto.h proto.c types.h
clang-format --dry-run --ferror-limit=0 $(FMTFILES)
clang-format --verbose -i $(FMTFILES)

View File

@ -1,4 +1,6 @@
FMTFILES=main.c
.PHONY: fmt
fmt:
# Uses ../.clang-format
clang-format --verbose -i main.c
clang-format --dry-run --ferror-limit=0 $(FMTFILES)
clang-format --verbose -i $(FMTFILES)