Add missing dependency to check in Makefile

The main makefile check target does not depend on tests. When running
make with the -j option it could happen that the tests are build twice
and concurrently, which causes errors.
This commit is contained in:
Andres AG 2016-08-31 16:10:45 +01:00 committed by Simon Butcher
parent f9113194af
commit c49b808ae4

View file

@ -77,7 +77,7 @@ ifndef WINDOWS
find . \( -name \*.gcno -o -name \*.gcda -o -name \*.info \) -exec rm {} +
endif
check: lib
check: lib tests
$(MAKE) -C tests check
test: check