Add rules to make sure subdirs are always built before testdirs

This commit is contained in:
Ondřej Surý
2019-07-02 12:16:30 +02:00
parent 1fe0c51f9b
commit 723433cbc6
2 changed files with 1 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ subdirs:
#
# Tests are built after the targets instead of before
#
testdirs:
testdirs: subdirs ${TARGETS}
@for i in ${ALL_TESTDIRS}; do \
if [ "$$i" != "nulldir" -a -d $$i ]; then \
echo "making all in `pwd`/$$i"; \