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

Annotation of /trunk/models/johnpye/datareader/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1597 - (hide 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 johnpye 809 Import('env')
2     dr_env = env.Copy()
3    
4     srcs = Split("""
5     datareader.c
6     dr.c
7 johnpye 811 tmy.c
8 johnpye 809 texttable.c
9 johnpye 816 sun.c
10 johnpye 809 """)
11    
12 johnpye 824 dr_env.Append(LIBPATH=['#'])
13     dr_env.Append(LIBS=['ascend'])
14 johnpye 809
15 jpye 1597 lib = dr_env.SharedLibrary("datareader",srcs
16     ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
17     ,SHLIBPREFIX = env['EXTLIB_PREFIX']
18     )
19 johnpye 811
20 jpye 1597 env['extfns'] += [lib]
21    
22 johnpye 811 # vim: set syntax=python:
23    

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