/[ascend]/trunk/models/johnpye/brent/SConscript
ViewVC logotype

Contents of /trunk/models/johnpye/brent/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1597 - (show annotations) (download)
Fri Aug 17 05:26:05 2007 UTC (12 years, 6 months ago) by jpye
File size: 307 byte(s)
New external library naming scheme on Windows: 'name_ascend.dll' instead of 'name.dll'.
This applies to solvers as well as external methods, extpy, import handlers, etc.
1 Import('env')
2 brent_env = env.Copy()
3
4 srcs = Split("""
5 brent.c
6 """)
7
8 brent_env.Append(LIBPATH=['#'])
9 brent_env.Append(LIBS=['ascend'])
10
11 lib = brent_env.SharedLibrary("brent",srcs
12 ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
13 ,SHLIBPREFIX = env['EXTLIB_PREFIX']
14 )
15
16 env['extfns'] += [lib]
17
18 # vim: set syntax=python:

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