Makefile: add check target depending on tidy

pull/103/head
Daniel Micay 2019-08-18 02:19:51 -04:00
parent 7d4d2ef0fb
commit c70745ab15
1 changed files with 3 additions and 1 deletions

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