summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6152ece..3963be1 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,11 @@ linter: $(SRCS) $(HEADERS)
clang-format --dry-run --Werror $?
$(MAKE) -C test linter
+.PHONY: linter-fix
+linter-fix: $(SRCS) $(HEADERS)
+ clang-format -i $?
+ $(MAKE) -C test linter-fix
+
.PHONY: test
test: $(TARGET)
$(MAKE) -C test