I know Fortran 77 is supported, so I put the following in my
Makefile.am

---
bin_PROGRAMS = readfits

readfits_SOURCES = readfits.f90

SUFFIXES = .f90

.f90.o
        f90 -c $<
---

but then from automake I get warning

---
automake: Makefile.am: Fortran 77 source seen but `F77' not defined
  in `configure.in'
---

and two implicit targets for `.f90.o', mine and one generated by
automake.   Is this a bug?

   I fixed it, by the way, with an `AC_PROG_F77' in configure.in and a
"F77 = f90" in the Makefile.am.

P.S.

   No, I haven't switched to Fortran from C++, the Makefile is for my
boss.

Reply via email to