help-make
[Top][All Lists]
Advanced

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

Some more patter rules help


From: PATTON, BILLY \(SBCSI\)
Subject: Some more patter rules help
Date: Tue, 2 May 2006 10:15:04 -0500

I have :
define do_sh
$(1)/% : $(2)/%.sh
        @echo "copy $$$$< tp $$$$@"
endef
$(foreach proj,$(PROJECTS),\
  $(foreach bb,$(bb+$(proj)),\
    $(foreach topic,$(topic+$(proj)+$(bb)),\
      $(eval $(call
do_sh,$(PRD_TREE)/$(proj)/$(bb)/bin,$(SRC_TREE)/$(proj)/$(bb)/$(topic)/s
rc)))))


and I get from the echo :
copy $< tp

How do I get the $? and $@ ?
How many times do I need to refreence/derefence




reply via email to

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