corrected '-o <file>' syntax: now with space in between.

This commit is contained in:
Philip Eisenlohr 2012-01-12 13:46:35 +00:00
parent 2ea3c68d3f
commit 8584532205
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ for dir in compile:
except: except:
pass pass
print 'compiling ',src,'using',compiler print 'compiling ',src,'using',compiler
os.system('%s -O2 -o%s.exe %s'%(compiler,os.path.splitext(src)[0],src)) os.system('%s -O2 -o %s.exe %s'%(compiler,os.path.splitext(src)[0],src))
os.chdir(codeDir) # needed for compilation with gfortran and f2py os.chdir(codeDir) # needed for compilation with gfortran and f2py
for tasks in execute: for tasks in execute: