From e0fe9bcf94f124f0ee3cce13221578e71d1c68b1 Mon Sep 17 00:00:00 2001 From: icex2 Date: Fri, 21 Aug 2020 14:14:17 +0200 Subject: [PATCH] Makefile: Fix clang format command --- GNUmakefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index aa9cde1..bfac915 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -68,9 +68,8 @@ clean: $(V)rm -rf $(BUILDDIR) code-format: - @echo "Applying clang-format..." -# -style=file enables reading .clang-format - @find src/ -iname *.h -o -iname *.c | xargs clang-format -i -style=file + $(V)echo "Applying clang-format..." + $(V)find src/ -name '*.c' -o -name '*.h' | xargs clang-format -i -style=file run-tests: @echo "Running tests..."