Re: problems with recursive make target

2009-06-29 Thread John Calcote
John, On 6/29/2009 2:00 PM, johnwohlb...@gmail.com wrote: On Jun 29, 2009 1:44pm, Ralf Wildenhues wrote: Hello John, Thanks Ralf. I feel pretty dumb. You know I suspected that was the problem, and was trying to cd ../. But now I realize I was putting the cd ../ in the wrong place. After my wr

Re: problems with recursive make target

2009-06-29 Thread John Calcote
Hi John, On 6/29/2009 1:44 PM, Ralf Wildenhues wrote: Hello John, * johnwohlb...@gmail.com 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 $(SU

Re: Re: problems with recursive make target

2009-06-29 Thread johnwohlbier
On Jun 29, 2009 1:44pm, Ralf Wildenhues wrote: Hello John, * johnwohlb...@gmail.com 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 $(SUB

Re: problems with recursive make target

2009-06-29 Thread Ralf Wildenhues
Hello John, * johnwohlb...@gmail.com 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)

problems with recursive make target

2009-06-29 Thread johnwohlbier
I need separate targets to build tests and to execute tests, so check-local alone is not enough. Our machines allow compiling on the "frontend" and running on the "backend," so I'd like a recursive make target called "tests" that only compiles the tests, then I'll use check-local for test e