I have a folder with 354 .f90 modules (and the main file). In the readme this is suggested:
The best approach is to unzip the archive
source.zipextracting all
354 program files into a directory of your choice. Then you can
compile with the commandgfortran *.f90 -o app.exe
I’m on Mac so i installed gfortran but doing the command written above doesn’t work:
gfortran: *.f90: No such file or directory
So I suppose that a bash script is needed (or at least a makefile).
I’m not used to doing this so what should I do? Does there exist some automatic makefile generator?
It was just a stupidity issue. The extension of the files was .F90 and not .f90. With:
it worked.