Hello,
I'm creating makefiles to build Fortran projects on Linux. Our current work flow is to develop on Windows in VS with Intel Fortran (build in VS), then port the project source code to Linux and build there using a makefile and the Intel Linux Fortran. The next project to port has several hundred Fortran source files. Are automated tools available to create the Linux makefile from the Windows VS .vfproj project file?
The best leads I've found from web searching are these:
This Intel article recommends using the information from the BuildLog.htm file to help create a makefile: https://software.intel.com/en-us/articles/can-i-export-a-makefile-from-visual-studio
Would it be best to rebuild the solution so that all the source files get listed in the BuildLog.htm file? Then use a text editor to create the rules to compile each source file? Is the order of the files in the BuildLog.htm significant in terms of .mod dependencies? I'm guessing I'll need to be careful to get the module dependencies handled correctly in the make file.
This forum topic listed a few tools that could help: https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/270229
Has anyone used one of these tools, such as Makedepf90, to create a makefile? (http://personal.inet.fi/private/erikedelmann/makedepf90/) If yes, was it useful, and advice on using it?
Some Stackoverflow articles recommended creating the makefile manually [to "build" character I suppose ;-) ].
Thanks for your help.
Regards,
Greg T.