diff --git a/make/rules.in b/make/rules.in index b5941a1220..18602f057e 100644 --- a/make/rules.in +++ b/make/rules.in @@ -45,6 +45,7 @@ all: ${PREREQS} subdirs ${TARGETS} testdirs ### ### Makefile may define: ### SUBDIRS +### DEPDIRS ALL_SUBDIRS = ${SUBDIRS} nulldir ALL_TESTDIRS = ${TESTDIRS} nulldir @@ -232,7 +233,7 @@ distclean maintainer-clean:: rm -f Makefile depend: - @for i in ${ALL_SUBDIRS}; do \ + @for i in ${ALL_SUBDIRS} ${ALL_TESTDIRS}; do \ if [ "$$i" != "nulldir" -a -d $$i ]; then \ echo "making depend in `pwd`/$$i"; \ (cd $$i; ${MAKE} ${MAKEDEFS} DESTDIR="${DESTDIR}" $@) || exit 1; \