help-gnu-utils
[Top][All Lists]
Advanced

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

Re: recursive make: communicating target to sub-makes


From: Daniel Kabs
Subject: Re: recursive make: communicating target to sub-makes
Date: Mon, 13 Feb 2006 17:28:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920

Hello!


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

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

Cheers
Daniel


reply via email to

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