Re: make test with fortran program

2011-01-28 Thread Ralf Wildenhues
Hello Eve-Marie, please do not top-post (writing your answer above what you refer to) on these lists. Thank you. * Eve-Marie Devaliere wrote on Thu, Jan 27, 2011 at 07:55:49PM CET: > AM_DEFAULT_SOURCE_EXT = .f90 > TESTS = forward/Example1_Simple/Example1_Simple \ > k_matrix/Example1_Simp

Re: dashes in Makefile macro names

2011-01-28 Thread Eric Blake
[adding automake] On 01/28/2011 04:38 AM, Bruno Haible wrote: > Hi, > > Can you use $(FOO-BAR) in Makefile? It's not portable in POSIX [1] Then let's get that addressed in POSIX! We're already in the middle of getting POSIX to support ${var${v}} nested variable expansions, on the same arguments

Re: make test with fortran program

2011-01-28 Thread Eve-Marie Devaliere
Thanks Ralph! > 'make check' is the thing to use; see 'info Automake --index check'. Yes I figured that out about 10 minutes before your email... ;-) I had always run 'make test' so far I ended up making it working with the following, I thought I would post it in case it can help someone else.

Re: make test with fortran program

2011-01-28 Thread Ralf Wildenhues
* Eve-Marie Devaliere wrote on Fri, Jan 28, 2011 at 08:29:31PM CET: > TESTS = Example1_Simple > check_PROGRAMS = Example1_Simple > Example1_Simple_SOURCES = Example1_Simple.f90 > Example1_Simple_FCLAGS = There's a typo here, should be _FCFLAGS not _FCLAGS. > -I/home/pub/evemarie/projects/CRTM/aut

Re: dashes in Makefile macro names

2011-01-28 Thread Ralf Wildenhues
* Eric Blake wrote on Fri, Jan 28, 2011 at 04:04:19PM CET: > On 01/28/2011 04:38 AM, Bruno Haible wrote: > > Can you use $(FOO-BAR) in Makefile? It's not portable in POSIX [1] > > Then let's get that addressed in POSIX! Thank you Eric for being thorough! > We're already in the middle of > gettin

Re: dashes in Makefile macro names

2011-01-28 Thread Stefano Lattarini
[dropping bug-autoconf] Hello Ralf. I like the proposed change (assuming the testsuite still passes ;-) But there's a minor mistake in your testsuite addition, and I also have a couple small unrelated nits/suggestions ... > new file mode 100755 > index 000..3ba803f > --- /dev/null > +++ b/t