Makefile: add check target depending on tidy

This commit is contained in:
Daniel Micay 2019-08-18 02:19:51 -04:00
parent 7d4d2ef0fb
commit c70745ab15

View File

@ -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