Command Line with make

To specify a number of files with various paths and to save this information for multiple compilations, you can use makefiles. To use a makefile to compile your input files using the Intel® Fortran Compiler, make sure that /usr/bin and /usr/local/bin are on your path.

If you use the C shell, you can edit your .cshrc file and add

setenv PATH  /usr/bin:/usr/local/bin:<your path>

Then you can compile as

make -f   <Your makefile>

where -f is the make command option to specify a particular makefile.

For some versions of make, a default Fortran compiler macro F77 is available. If you want to use it, you should provide the following settings in the startup file for your command shell: