diff options
Diffstat (limited to 'sci-physics/camfr/files/SConstruct')
-rw-r--r-- | sci-physics/camfr/files/SConstruct | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-physics/camfr/files/SConstruct b/sci-physics/camfr/files/SConstruct new file mode 100644 index 000000000000..349d068cd0bd --- /dev/null +++ b/sci-physics/camfr/files/SConstruct @@ -0,0 +1,22 @@ +from machine_cfg import * + +SConsignFile() # Tell Scons not to write data all over the file system. + +Default("camfr") +import os + +# Construct build environments. + +env = Environment(CPPPATH = include_dirs, + LIBPATH = library_dirs, + CC = cc, CCFLAGS = flags, + CXX = cxx, CXXFLAGS = flags, + F77 = f77, F77FLAGS = fflags, + LINK = link, LINKFLAGS = link_flags, + LIBS = libs, SHLIBPREFIX = "", + ENV = {'PATH' : os.environ['PATH']}) + +env_noopt = env.Copy(CCFLAGS = flags_noopt, CXXFLAGS = flags_noopt) + +Export("env", "env_noopt") +SConscript("camfr/SConscript")
\ No newline at end of file |