help-make
[Top][All Lists]
Advanced

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

Re: Making all export clean parallel, but export before all


From: Noel Yap
Subject: Re: Making all export clean parallel, but export before all
Date: Mon, 30 Aug 2004 08:06:15 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

Order rules (ie the pipe) are a new feature in GNU make 3.80.  You'll have to 
upgrade in order to take advantage of them.

Alexander Farber wrote:

Boris Kolpackov wrote:
$(SUBDIRS): | export


Sorry, but (with gmake 3.79.1) this gives me:

    bolinux72:para-test {578} gmake
    gmake: *** No rule to make target `|', needed by `a'.  Stop.

bolinux72:para-test {577} cat Makefile SUBDIRS = a b

    all: export

    all export clean: $(SUBDIRS)

    $(SUBDIRS): | export

    $(SUBDIRS): %: %/SubMakefile
            $(MAKE) -C $@ -f $(notdir $<) $(MAKECMDGOALS)

    # TODO a rule for %/SubMakefiles

    .PHONY: all export clean $(SUBDIRS)

And without the pipe I get:

    gmake: Circular b <- export dependency dropped.


_______________________________________________
Help-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-make





reply via email to

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