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

Contents of /trunk/tools/mmio/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 190 - (show annotations)
Mon Nov 21 03:27:42 2005 UTC (16 years ago) by jgs
File size: 457 byte(s)
pass in value for esysroot and use this to determine include file locations
1 Import('*')
2
3 import os
4 import string
5
6 cc_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -fpic -w1'
7
8 mmio_path = str(esysroot) + '/tools/mmio/inc'
9
10 cpp_path = [mmio_path]
11
12 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