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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to