view SConstruct @ 3:911cb701a42e

Moved all c/objc files into a new 'src' directory; other minor refactorings.
author Atul Varma <varmaa@toolness.com>
date Sun, 24 Feb 2008 08:51:21 -0600
parents a636a7618da6
children
line wrap: on
line source

# ----------------------------------------------------------------------------
#
#   enso_osx SConstruct
#
# ----------------------------------------------------------------------------

import sys

ccBaseFlags = [
    "-Wall",     # GCC: Display all warnings.
    "-Werror",   # GCC: Treat warnings as errors.
]

env = Environment(
    CCFLAGS = ccBaseFlags,
    )

# Add the Python library to our environment.
env.Append(
    CPPPATH = sys.prefix + "/include/python" + sys.version[:3],
    LIBPATH = sys.prefix + "/lib/python" + sys.version[:3],
    )

SConscript( "src/SConscript", exports="env" )