aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-08-08 22:18:28 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-08-08 22:18:28 +0200
commit851d4fb9db087eeb183f1c1cb5d96829a32e690b (patch)
treeb7bcefc108ed310b6568cb10f728233833209ccc /Makefile
parent005cd3b630fcf0f3870f426a0db5e54400a59ef9 (diff)
downloadcpp-utils-851d4fb9db087eeb183f1c1cb5d96829a32e690b.tar.gz
cpp-utils-851d4fb9db087eeb183f1c1cb5d96829a32e690b.zip
add clang-tidy and fix lints
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ceaa80e..05d7233 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,7 @@ run: all
lint:
clang-format --dry-run -Werror $(shell find -name '*.cc' -o -name '*.h')
+ clang-tidy test/*.cc -- $(CXXFLAGS)
build/%: build/%.o
$(CXX) -o $@ $< $(LDFLAGS)