mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 06:07:34 +02:00
Makefile: check make depend is parallel
This commit is contained in:
committed by
R. Timothy Edwards
parent
4aee95e092
commit
f513a0ca3b
@@ -74,12 +74,14 @@ BUNDLED_MODULES = readline lisp
|
|||||||
# MAKE will warning loudly. This list is somewhat empty when defs.mak does not exist
|
# 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)
|
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
|
@echo --- making dependencies
|
||||||
${MAKE} -C $(dir $@) depend
|
${MAKE} -C $(dir $@) depend
|
||||||
|
|
||||||
.PHONY: depend
|
.PHONY: depend
|
||||||
depend: defs.mak $(addsuffix /Depend, ${SUBDIRS_FILTERED})
|
depend: defs.mak ${SUBDIRS_DEPEND}
|
||||||
|
|
||||||
.PHONY: techs
|
.PHONY: techs
|
||||||
techs: depend
|
techs: depend
|
||||||
|
|||||||
Reference in New Issue
Block a user