#!/usr/bin/python Import ('user_options_dict') Import ('library_env') rad_env = library_env.Copy () source_files = ['intern/source/raddisplay.c', 'intern/source/radfactors.c', 'intern/source/radrender.c', 'intern/source/radio.c', 'intern/source/radnode.c', 'intern/source/radpostprocess.c', 'intern/source/radpreprocess.c'] rad_env.Append (CPPPATH = ['extern/include', '../blenlib', '../blenkernel', '../makesdna', '../include', '#/intern/guardedalloc', '../render/extern/include']) rad_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE']) rad_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_radiosity', source=source_files)