summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoruntir_l <87096069+untir-l@users.noreply.github.com>2022-02-18 11:14:10 +0000
committeruntir-l <87096069+untir-l@users.noreply.github.com>2022-02-25 09:56:49 +0000
commitd6d3f7c4583d9bb1775a8ad28b464ab36f6263ac (patch)
tree69541d4d06f476aed903e7c9c3a903df136c3653 /Makefile
parent094d39c7b4ddb5e32143d77c96f29d8c164c98b4 (diff)
downloadhitomezashi-d6d3f7c4583d9bb1775a8ad28b464ab36f6263ac.tar
hitomezashi-d6d3f7c4583d9bb1775a8ad28b464ab36f6263ac.tar.gz
hitomezashi-d6d3f7c4583d9bb1775a8ad28b464ab36f6263ac.zip
Add clang-format invocation to Makefile
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