From c70745ab156fa0212cb5e8ffbb3a3a1a1be40c90 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 18 Aug 2019 02:19:51 -0400 Subject: [PATCH] Makefile: add check target depending on tidy --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6afa4eb..3a8c460 100644 --- a/Makefile +++ b/Makefile @@ -115,10 +115,12 @@ pages.o: pages.c pages.h memory.h util.h random.o: random.c random.h chacha.h util.h util.o: util.c util.h +check: tidy + tidy: clang-tidy $(SOURCES) -- $(CPPFLAGS) clean: rm -f libhardened_malloc.so $(OBJECTS) -.PHONY: clean tidy +.PHONY: check clean tidy