@echo off rem Compile one source file to the f77, f95, F or f2003 standards if exist %1.for g77 -c -ffixed-form -Wall %1.for rem if exist %1.f90 fort f95 %1 f90 rem if exist %1.f95 fort f95 %1 f95 rem if exist %1.f fort F %1 f rem if exist %1.f03 fort f2003 %1 f03