| Line 73... |
Line 73... |
outbuf += 'SOURCEF =\n'
|
outbuf += 'SOURCEF =\n'
|
outbuf += 'SOURCEH =\n'
|
outbuf += 'SOURCEH =\n'
|
outbuf += 'DIRS =\n'
|
outbuf += 'DIRS =\n'
|
outbuf += libbase + '\n'
|
outbuf += libbase + '\n'
|
outbuf += locdir + '\n'
|
outbuf += locdir + '\n'
|
# outbuf += 'include ${PETSC_DIR}/bmake/common/base\n'
|
# outbuf += 'include ${PETSC_DIR}/conf/base\n'
|
# outbuf += 'include ${PETSC_DIR}/bmake/common/test\n'
|
# outbuf += 'include ${PETSC_DIR}/conf/test\n'
|
outbuf += 'include ${SLEPC_DIR}/bmake/slepc_common \n'
|
outbuf += 'include ${SLEPC_DIR}/conf/slepc_common \n'
|
ff = open(os.path.join(dir, 'makefile'), 'w')
|
ff = open(os.path.join(dir, 'makefile'), 'w')
|
ff.write(outbuf)
|
ff.write(outbuf)
|
ff.close()
|
ff.close()
|
|
|
# if dir is empty - remove it
|
# if dir is empty - remove it
|