%% Daniel Kabs <[EMAIL PROTECTED]> writes:

  >> ALL = $(addsuffix -all,$(SUBDIRS))
  >> all: $(ALL)
  >> $(ALL):
  >>        $(MAKE) -C $(@:-all=) all

  dk> Wow, just tried it and it works. Great! But what is the $(@:-all=)
  dk> variable reference you are using? I could not find anything about
  dk> it in the make 3.80 manual.

Look up the section on "Substitution References", under "Advanced
Features for Reference to Variables".


HTH!

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
help-gnu-utils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to