Commit bdfbc9bf authored by Jonas Schwab's avatar Jonas Schwab
Browse files

compile_alf: Remove old executables in Prog

parent c1249ece
......@@ -310,6 +310,9 @@ def compile_alf(alf_dir='ALF', branch=None, config='GNU noMPI', target='all',
env = getenv(config)
print('Compiling ALF... ', end='')['make', 'clean'], check=True, env=env)
for file in os.listdir('Prog'):
if file.endswith('.out'):
os.remove(os.path.join('Prog', file))['make', 'ana'], check=True, env=env)
try:['make', target], check=True, env=env)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment