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

Contents of /trunk/models/johnpye/datareader/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1597 - (show annotations) (download)
Fri Aug 17 05:26:05 2007 UTC (17 years, 2 months ago) by jpye
File size: 339 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 dr_env = env.Copy()
3
4 srcs = Split("""
5 datareader.c
6 dr.c
7 tmy.c
8 texttable.c
9 sun.c
10 """)
11
12 dr_env.Append(LIBPATH=['#'])
13 dr_env.Append(LIBS=['ascend'])
14
15 lib = dr_env.SharedLibrary("datareader",srcs
16 ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
17 ,SHLIBPREFIX = env['EXTLIB_PREFIX']
18 )
19
20 env['extfns'] += [lib]
21
22 # vim: set syntax=python:
23

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