I am making a fortran program that has modules written in both Fortran 77 and Fortran 90. I keep getting an error on the first fortran 90 file. The error says "No rule to make target" and then the fortran 90 object name. Here is the rules portion of my makefile.
PROGRAM : $(MAINOBJ)
f95 $(F90FLAGS) -o ../bin/$@ $(MAINOBJ)
.f90.o :
f95 $(F90FLAGS) -c $<
.f.o : f95 $(F()FLAGS) -c $<
I am using the Absoft compiler for Linux. The fortran 77 files compile fine. It dies when it gets to the first fortran 90 file.
PROGRAM : $(MAINOBJ)
f95 $(F90FLAGS) -o ../bin/$@ $(MAINOBJ)
.f90.o :
f95 $(F90FLAGS) -c $<
.f.o : f95 $(F()FLAGS) -c $<
I am using the Absoft compiler for Linux. The fortran 77 files compile fine. It dies when it gets to the first fortran 90 file.