From f513a0ca3b66d2abe8e9b4761270afc8f2cde80a Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Thu, 24 Jul 2025 14:36:22 +0100 Subject: [PATCH] Makefile: check make depend is parallel --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6ae63ef3..c83b3af7 100644 --- a/Makefile +++ b/Makefile @@ -74,12 +74,14 @@ BUNDLED_MODULES = readline lisp # MAKE will warning loudly. This list is somewhat empty when defs.mak does not exist SUBDIRS_FILTERED := $(shell echo ${MODULES} ${PROGRAMS} ${SUBDIRS} | tr ' ' '\n' | sort | uniq) -$(addsuffix /Depend, ${SUBDIRS_FILTERED}): database/database.h +SUBDIRS_DEPEND = $(addsuffix /Depend, ${SUBDIRS_FILTERED}) + +${SUBDIRS_DEPEND}: database/database.h @echo --- making dependencies ${MAKE} -C $(dir $@) depend .PHONY: depend -depend: defs.mak $(addsuffix /Depend, ${SUBDIRS_FILTERED}) +depend: defs.mak ${SUBDIRS_DEPEND} .PHONY: techs techs: depend