summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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