Hello John, * [email protected] wrote on Mon, Jun 29, 2009 at 09:36:09PM CEST: > in top/lib/Makefile.am > SUBDIRS = pika_comm pika_utilities > # provide a separate recursive target for making tests > tests : all > echo `pwd`; > for dir in $(SUBDIRS); do \ > cd $$dir && $(MAKE) $(AM_MAKEFLAGS) $@ || exit 1; \ > done > echo `pwd`; > .PHONY : tests
You don't ever 'cd' back out of the first subdirectory, so you can't find the second: > make[2]: Leaving directory `/users/wohlbier/MPMC/pika/build/lib/pika_comm' > /bin/sh: line 1: cd: pika_utilities: No such file or directory > make[1]: *** [tests] Error 1 Cheers, Ralf
