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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 191 - (hide annotations)
Mon Nov 21 04:10:12 2005 UTC (17 years, 4 months ago) by jgs
File size: 373 byte(s)
push platform dependent compiler flags and include directories up to library level scons files - these will eventually be brought in from external config files
1 jgs 179 Import('*')
2    
3     import os
4 jgs 190 import string
5 jgs 179
6 jgs 190 mmio_path = str(esysroot) + '/tools/mmio/inc'
7 jgs 179
8 jgs 190 cpp_path = [mmio_path]
9    
10 jgs 179 lib = 'mmio'
11     sources = ['mmio.c']
12    
13     mmio_env = Environment(ENV = os.environ)
14    
15     mmio_env.Replace(CC = 'icc')
16     mmio_env.Replace(CCFLAGS = cc_flags)
17     mmio_env.Replace(CPPPATH = cpp_path)
18    
19     mmio_lib = mmio_env.StaticLibrary(lib, sources)
20     mmio_env.Install(libdir, mmio_lib)

  ViewVC Help
Powered by ViewVC 1.1.26