[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make test with fortran program
From: |
Eve-Marie Devaliere |
Subject: |
Re: make test with fortran program |
Date: |
Fri, 28 Jan 2011 14:29:31 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
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...
in my Makefile.am in my test directory (lower-level one)
TESTS = Example1_Simple
check_PROGRAMS = Example1_Simple
Example1_Simple_SOURCES = Example1_Simple.f90
Example1_Simple_FCLAGS =
-I/home/pub/evemarie/projects/CRTM/autoconf/play/CRTM/libsrc/
Example1_Simple_LDADD =
/home/pub/evemarie/projects/CRTM/autoconf/play/CRTM/libsrc/.libs/libCRTM.la
AM_FCFLAGS = $(Example1_Simple_FCLAGS)# not sure if
Example1_Simple_FCLAGS is useful, definitely need the AM_FCFLAGS to have
my include line...
Of course I will get rid of the hardcoding now that I got it to work...
Cheers,
Eve-Marie
>