automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AM_FCFLAGS not working as I expect...


From: Andreas Schwab
Subject: Re: AM_FCFLAGS not working as I expect...
Date: Sat, 05 Nov 2005 09:48:27 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Ed Hartnett <address@hidden> writes:

> What am I missing here? I define the following in my Makefile.am:
>
> # Point the fortran compiler to current directory.
> AM_FFLAGS = -I$(srcdir)
>
> But no matter what I do, that -I. never appears when the compile
> happens:
>
>  f95 -g -O2 -ff2c -c typeSizes.f90  -fPIC -o .libs/typeSizes.o

FFLAGS is only used for Fortran 77 compilations.  For Fortran 9x
compilations FCFLAGS is used.  See Fortran 77 Support and Fortran 9x
Support in the automake manual.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]