Makefile: Fix clang format command

This commit is contained in:
icex2
2020-09-02 19:53:05 +00:00
parent f9c0733af3
commit e0fe9bcf94
+2 -3
View File
@@ -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..."