2011/1/27 Ralf Wildenhues :
> * Sergio Belkin wrote on Thu, Jan 27, 2011 at 04:40:10AM CET:
>> tests = $(EXTRA_PROGRAMS)
>
>> if forcestatic
>> tests: LIBS += $(STATIC_RESOLV)
>> end if
>>
>> The problem is that automake it complains that .
>>
>> tests was already defined in condition forcestatic,
Dear all,
I created a fortran library with autoconf/automake and am now trying to
get 'make test' to run a fortran program as a test
I have the following in my test/Makefile.am
AM_DEFAULT_SOURCE_EXT = .f90
TESTS = forward/Example1_Simple/Example1_Simple \
k_matrix/Example1_Simple/Exa
Hello Eve-Marie,
* Eve-Marie Devaliere wrote on Thu, Jan 27, 2011 at 07:07:51PM CET:
> AM_DEFAULT_SOURCE_EXT = .f90
> TESTS = forward/Example1_Simple/Example1_Simple \
> k_matrix/Example1_Simple/Example1_Simple
> check_PROGRAMS = $(TESTS)
>
> when I run automake it outputs
> automake
> te
Hello Sergio,
* Sergio Belkin wrote on Thu, Jan 27, 2011 at 01:15:45PM CET:
> 2011/1/27 Ralf Wildenhues :
> > * Sergio Belkin wrote on Thu, Jan 27, 2011 at 04:40:10AM CET:
> >> tests = $(EXTRA_PROGRAMS)
> >
> >> if forcestatic
> >> tests: LIBS += $(STATIC_RESOLV)
> >> end if
> >>
> >> The problem
Thanks Ralph! :)
I now have in my test/Makefile.am
AM_DEFAULT_SOURCE_EXT = .f90
TESTS = forward/Example1_Simple/Example1_Simple \
k_matrix/Example1_Simple/Example1_Simple
check_PROGRAMS = $(TESTS)
AUTOMAKE_OPTIONS=subdir-objects
automake and configure now work but at the end of running m