Fortran suffix improvingness.

pull/15/head
Jussi Pakkanen 10 years ago
parent bfacc7ef8c
commit 8cac567ced
  1. 3
      environment.py

@ -1194,7 +1194,8 @@ end program prog
return ['-o', outputname]
def can_compile(self, src):
if src.lower().endswith('.f95'):
suffix = os.path.splitext(src)[1].lower()
if suffix == '.f' or suffix == '.f95':
return True
return False

Loading…
Cancel
Save