/[ascend]/trunk/solvers/lsode/SConscript
ViewVC logotype

Diff of /trunk/solvers/lsode/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1507 by jpye, Wed Jun 27 11:25:37 2007 UTC revision 1508 by jpye, Wed Jun 27 11:37:28 2007 UTC
# Line 1  Line 1 
1  Import('env')  Import('env')
2    
3    solver_env = env.Copy()
4    
5  srcs = ['lsode.f']  srcs = ['lsode.f','lsode.c']
6    
7  lsode = env.SharedObject('lsode',srcs)  lsode = solver_env.SharedObject('lsode')
8    
9    #if 'LSOD' in solver_env.get('WITH_SOLVERS'):
10    
11    if env.get('F2C_LIBPATH'):
12        solver_env.AppendUnique(LIBPATH=[env.get('F2C_LIBPATH')])
13    
14    if solver_env.get('F2C_LIB'):
15        solver_env.AppendUnique(LIBS=[env.get('F2C_LIB')])
16    
17    liblsode = solver_env.SharedLibrary('lsode',srcs)
18    
19    env['extfns'] += [liblsode]
20    
21  Return('lsode')  # vim: set syntax=python:

Legend:
Removed from v.1507  
changed lines
  Added in v.1508

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22