Ed Hartnett <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED] 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."