2004-01-04 21:11:59 +00:00
|
|
|
guardal_env = Environment()
|
|
|
|
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
|
|
Import ('cflags')
|
|
|
|
Import ('cxxflags')
|
|
|
|
Import ('defines')
|
2004-02-15 19:25:32 +00:00
|
|
|
Import ('user_options_dict')
|
2004-01-04 21:11:59 +00:00
|
|
|
guardal_env.Append (CCFLAGS = cflags)
|
|
|
|
guardal_env.Append (CXXFLAGS = cxxflags)
|
|
|
|
guardal_env.Append (CPPDEFINES = defines)
|
|
|
|
|
|
|
|
source_files = ['intern/mallocn.c']
|
|
|
|
|
|
|
|
guardal_env.Append (CPPPATH = ['.'])
|
|
|
|
|
2004-02-15 19:25:32 +00:00
|
|
|
guardal_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_guardedalloc', source=source_files)
|