diff options
Diffstat (limited to 'src/util/SConscript')
-rw-r--r-- | src/util/SConscript | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/util/SConscript b/src/util/SConscript index 8afeedaf5e9..84803c016d9 100644 --- a/src/util/SConscript +++ b/src/util/SConscript @@ -11,10 +11,20 @@ env.Prepend(CPPPATH = [ '#src/util', ]) +env.CodeGenerate( + target = 'format_srgb.c', + script = 'format_srgb.py', + source = [], + command = python_cmd + ' $SCRIPT > $TARGET' +) + # parse Makefile.sources source_lists = env.ParseSourceList('Makefile.sources') -mesautil_sources = source_lists['MESA_UTIL_FILES'] +mesautil_sources = ( + source_lists['MESA_UTIL_FILES'] + + source_lists['MESA_UTIL_GENERATED_FILES'] +) mesautil = env.ConvenienceLibrary( target = 'mesautil', |