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: Alexander Farber
Subject: Re: Making all export clean parallel, but export before all
Date: Mon, 30 Aug 2004 12:39:19 +0000
User-agent: Mutt/1.4.1i

> 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.




reply via email to

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