/[ascend]/trunk/models/johnpye/fprops/SConstruct
ViewVC logotype

Annotation of /trunk/models/johnpye/fprops/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1873 - (hide annotations) (download)
Thu Sep 18 02:34:54 2008 UTC (15 years, 10 months ago) by jpye
File size: 477 byte(s)
Adding water to fluids set (for the purpose of debuggin using freesteam code).
1 jpye 1811 # Standalone 'SConstruct' to demonstrate how you can build
2     # this ASCEND external library against an existing copy of
3     # ASCEND installed on your system.
4    
5     env = Environment()
6    
7     env.ParseConfig(['ascend-config','--libs','--cppflags'])
8    
9     srcs = ['mbwr.c','asc_mbwr.c']
10    
11     env.SharedLibrary('mbwr_ascend',srcs)
12    
13 jpye 1873 fluids = ['ammonia','water','nitrogen']
14 jpye 1833
15 jpye 1873 srcs = ['ideal.c', 'helmholtz.c', 'asc_helmholtz.c'] \
16     + ["%s.c" % f for f in fluids]
17    
18 jpye 1833 env.SharedLibrary('helmholtz_ascend',srcs)
19    

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