summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2015-11-06 21:45:02 -0800
committerJohn Hawthorn <john.hawthorn@gmail.com>2015-11-07 18:19:14 -0800
commitafef1c979c0955a7bced155ea91984acda067429 (patch)
tree14af5919cf5ff24280cf49d16d4b1ead58599861 /Makefile
parent4ad97c86ab6de5890b07f15751f96a96587a234e (diff)
Apply clang-format to all files
Apologies that this uses my preferred formatting style: mostly the same as Linux, but without a break between function and brace. Adds spaces in a few places they weren't before.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8ad1f7e..9018404 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,10 @@ install: fzy
mkdir -p $(DESTDIR)$(MANDIR)/man1
cp fzy.1 $(DESTDIR)$(MANDIR)/man1/
+fmt:
+ clang-format -i *.c *.h
+
clean:
$(RM) fzy fzytest *.o
-.PHONY: test all clean install
+.PHONY: test all clean install fmt