/[escript]/trunk/tools/mmio/src/SConscript
ViewVC logotype

Annotation of /trunk/tools/mmio/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 190 - (hide annotations)
Mon Nov 21 03:27:42 2005 UTC (17 years, 4 months ago) by jgs
File size: 457 byte(s)
pass in value for esysroot and use this to determine include file locations
1 jgs 179 Import('*')
2    
3     import os
4 jgs 190 import string
5 jgs 179
6 jgs 188 cc_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -fpic -w1'
7 jgs 179
8 jgs 190 mmio_path = str(esysroot) + '/tools/mmio/inc'
9 jgs 179
10 jgs 190 cpp_path = [mmio_path]
11    
12 jgs 179 lib = 'mmio'
13     sources = ['mmio.c']
14    
15     mmio_env = Environment(ENV = os.environ)
16    
17     mmio_env.Replace(CC = 'icc')
18     mmio_env.Replace(CCFLAGS = cc_flags)
19     mmio_env.Replace(CPPPATH = cpp_path)
20    
21     mmio_lib = mmio_env.StaticLibrary(lib, sources)
22     mmio_env.Install(libdir, mmio_lib)

  ViewVC Help
Powered by ViewVC 1.1.26