command = python_cmd + ' $SCRIPT ' + ' $SOURCE > $TARGET'
)
+format_fallback = env.CodeGenerate(
+ target = 'main/format_fallback.c',
+ script = 'main/format_fallback.py',
+ source = 'main/formats.csv',
+ command = python_cmd + ' $SCRIPT ' + ' $SOURCE ' + ' $TARGET'
+)
+
#
# Assembly sources
#
env.CodeGenerate(
target = 'main/marshal_generated.c',
script = GLAPI + 'gen/gl_marshal.py',
- source = GLAPI + 'gen/gl_and_es_API.xml',
+ source = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml'),
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
)
env.CodeGenerate(
target = 'main/marshal_generated.h',
script = GLAPI + 'gen/gl_marshal_h.py',
- source = GLAPI + 'gen/gl_and_es_API.xml',
+ source = [GLAPI + 'gen/gl_and_es_API.xml'] + env.Glob(GLAPI + 'gen/*.xml'),
command = python_cmd + ' $SCRIPT -f $SOURCE > $TARGET'
)