[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
question about Circular dependency
From: |
PATTON, BILLY \(SBCSI\) |
Subject: |
question about Circular dependency |
Date: |
Thu, 16 Mar 2006 06:35:50 -0600 |
Got it working.
Now I have a new question.
Here is part of the result of running:
gmake: Circular ldb <- ldb dependency dropped.
Here is the makefile
__BEGIN__
proj := lde ldg ldm ldf ldw lbf ldb
.PHONY : all ${proj}
define dummy_template
$(1): ; @echo $(1)
endef
all : ${proj}
$(foreach var,$(proj),$(eval $(call dummy_template,$(var))))
$(filter ldb,${proj}) : ldb
__END__
I was under the impression that the filter would remove ldb from
the proj list and not have the circular dependencies.
Is this where the dependency is at?
>From the -d
Considering target file `ldb'.
File `ldb' does not exist.
gmake: Circular ldb <- ldb dependency dropped.
Finished prerequisites of target file `ldb'.
Must remake target `ldb'.
echo ldb
Putting child 0x4001ac68 (ldb) PID 13064 on the chain.
Live child 0x4001ac68 (ldb) PID 13064
ldb
- question about Circular dependency,
PATTON, BILLY \(SBCSI\) <=