aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b1e2662..8fd0bbe 100644
--- a/Makefile
+++ b/Makefile
@@ -22,4 +22,6 @@ wg-dynamic-server.o: wg-dynamic-server.c
clean:
rm -f ${PROGS} *.o *~
style:
- clang-format -i --style=file *.c *.h
+ find . -type f \( -name "*.c" -or -name "*.h" \) -and \
+ -not \( -name "*.capnp.c" -or -name "*.capnp.h" \) | \
+ xargs clang-format -i --style=file