aboutsummaryrefslogtreecommitdiffstats
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 cc2c299..7a0c5d5 100644
--- a/Makefile
+++ b/Makefile
@@ -9,4 +9,7 @@ SYMLINKS+= opendircolors.1.gz ${MANDIR}1/dircolors.1.gz
MAKEOBJDIR=obj
+format:
+ find ${.CURDIR} -type f -name '*.c' -exec clang-format -i {} \;
+
.include <bsd.progs.mk>