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