5 from sys import executable as python_cmd
9 env.Prepend(CPPPATH = [
15 target = 'format_srgb.c',
16 script = 'format_srgb.py',
18 command = python_cmd + ' $SCRIPT > $TARGET'
21 # parse Makefile.sources
22 source_lists = env.ParseSourceList('Makefile.sources')
25 source_lists['MESA_UTIL_FILES'] +
26 source_lists['MESA_UTIL_GENERATED_FILES']
29 mesautil = env.ConvenienceLibrary(
31 source = mesautil_sources,
34 env.Alias('mesautil', mesautil)