From de3f8f73810d77f7231ceddfd63b0720493bd437 Mon Sep 17 00:00:00 2001 From: Johnny Richard Date: Sun, 30 Apr 2023 01:55:48 +0200 Subject: make: Add linter-fix target to Makefiles Signed-off-by: Johnny Richard --- test/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 9572d0f..1655f06 100644 --- a/test/Makefile +++ b/test/Makefile @@ -18,6 +18,10 @@ clean: linter: $(SRCS) clang-format --dry-run --Werror $? +.PHONY: linter-fix +linter-fix: $(SRCS) + clang-format -i $? + string_view_test: munit.o ../build/string_view.o string_view_test.o $(CC) $? $(CFLAGS) -o $@ -- cgit v1.2.3