I have the following
define build_proj_template
$(1): ; @echo "build_proj_template $(1)"
endef
define proj_template
$(1): $(build${SEP}$(1))
@echo "proj_template $(1)"
endef
$(foreach proj,$(PROJECTS),$(eval $(call proj_template,$(proj))))
$(foreach proj,$(PROJECTS),$(eval $(call
build_proj_template,$(build${SEP}$proj))))
How can I print out what gets built?
The first foreach works, the second doesn't
SEP is a +
What I'm trying to build would look like
ldb : build+ldb # the first foreach build this
@echo $@
build+ldb : # cant get the second to build this
@echo $@
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make