help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I see what is built with the eval


From: PATTON, BILLY \(SBCSI\)
Subject: How can I see what is built with the eval
Date: Thu, 16 Mar 2006 15:48:50 -0600

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 $@




reply via email to

[Prev in Thread] Current Thread [Next in Thread]