From 6c28568f2fe50e0cea5206dbba6dc307c3adb7da Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 12 Mar 2019 09:00:39 +0100 Subject: Add `make format` and format the code --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ebadbcf..17e7b2c 100644 --- a/Makefile +++ b/Makefile @@ -11,4 +11,7 @@ install: badwolf clean: rm badwolf +format: *.c *.h + clang-format -style=file -assume-filename=~/.clang-format -i *.c *.h + .PHONY: clean install -- cgit v1.3.1-23-gd82d