Makefile: add check target depending on tidy
parent
7d4d2ef0fb
commit
c70745ab15
4
Makefile
4
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
|
random.o: random.c random.h chacha.h util.h
|
||||||
util.o: util.c util.h
|
util.o: util.c util.h
|
||||||
|
|
||||||
|
check: tidy
|
||||||
|
|
||||||
tidy:
|
tidy:
|
||||||
clang-tidy $(SOURCES) -- $(CPPFLAGS)
|
clang-tidy $(SOURCES) -- $(CPPFLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f libhardened_malloc.so $(OBJECTS)
|
rm -f libhardened_malloc.so $(OBJECTS)
|
||||||
|
|
||||||
.PHONY: clean tidy
|
.PHONY: check clean tidy
|
||||||
|
|
Loading…
Reference in New Issue