updated code for gfortran compiler and added make