summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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