From 8066c1092eb68698b2430a3bfccf5e86114fd916 Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Wed, 21 Sep 2022 10:12:55 +0200 Subject: [PATCH] Make fmt output changes that will be made --- hw/application_fpga/fw/mta1_mkdf/Makefile | 4 +++- hw/application_fpga/fw/testfw/Makefile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hw/application_fpga/fw/mta1_mkdf/Makefile b/hw/application_fpga/fw/mta1_mkdf/Makefile index 29423e4..f07dc01 100644 --- a/hw/application_fpga/fw/mta1_mkdf/Makefile +++ b/hw/application_fpga/fw/mta1_mkdf/Makefile @@ -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) diff --git a/hw/application_fpga/fw/testfw/Makefile b/hw/application_fpga/fw/testfw/Makefile index 079f82e..df58812 100644 --- a/hw/application_fpga/fw/testfw/Makefile +++ b/hw/application_fpga/fw/testfw/Makefile @@ -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)