From d6d3f7c4583d9bb1775a8ad28b464ab36f6263ac Mon Sep 17 00:00:00 2001 From: untir_l <87096069+untir-l@users.noreply.github.com> Date: Fri, 18 Feb 2022 16:44:10 +0530 Subject: Add clang-format invocation to Makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 0bdde87..e632760 100644 --- a/Makefile +++ b/Makefile @@ -17,5 +17,8 @@ hitomezashi_cli: hitomezashi_cli.o libhitomezashi.a hitomezashi_cli.o: hitomezashi_cli.c hitomezashi_cli.h +format-code: + clang-format -i *.c *.h + clean: rm -f *.a *.o hitomezashi_cli -- cgit v1.2.3-57-g22cb