Makefile for compiling multiple source files

Satish Balay balay at mcs.anl.gov
Mon May 14 12:05:02 CDT 2007


On Mon, 14 May 2007, Vijay M wrote:

> Something else i noticed just now is that when i rename an example
> file in snes directory from .F to .F90 or .f90, the code cannot
> compile it and i get the previously stated warning message
> 
> g77: C.F90: linker input file unused because linking not done
> 
> Not sure if it helps but it is just a sanity check that at least the
> error is consistent for all .F90 and not something specific to my
> code.

Thats because g77 is not an f90 compiler - and does not understand
.f90 or .F90 suffixes.

Satish




More information about the petsc-users mailing list