change configure

This commit is contained in:
Hongjian Fang
2015-07-05 16:57:48 +08:00
parent 0bcd21a449
commit 258e69569c
24 changed files with 7219 additions and 1 deletions

16
configure vendored Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env python
# this is a script to install surf_tomo and surf_tomo_syn in your system
# written by Hongjian Fang(fanghj@mail.ustc.edu.cn)
import os
if 'bin' in os.listdir('.'):
print 'installation beginning'
else:
print 'installation beginning'
os.mkdir('bin')
os.chdir('src')
os.system('make clean')
os.system('make')
os.system('cp SurfTomo ../bin')
print '--------------------------------------'
print 'surf_tomo install over'
print '--------------------------------------'