Makefile: Fix clang format command

This commit is contained in:
icex2
2020-09-02 19:53:05 +00:00
parent 5de9fdee43
commit e934a4ab4c
+2 -3
View File
@@ -68,9 +68,8 @@ clean:
$(V)rm -rf $(BUILDDIR) $(V)rm -rf $(BUILDDIR)
code-format: code-format:
@echo "Applying clang-format..." $(V)echo "Applying clang-format..."
# -style=file enables reading .clang-format $(V)find src/ -name '*.c' -o -name '*.h' | xargs clang-format -i -style=file
@find src/ -iname *.h -o -iname *.c | xargs clang-format -i -style=file
run-tests: run-tests:
@echo "Running tests..." @echo "Running tests..."