Output amalgamation into build/.

This commit is contained in:
Bob Nystrom
2015-04-25 08:38:45 -07:00
parent f07e38f40a
commit bead9a3406
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -48,9 +48,12 @@ def add_file(filename):
# Print license on top.
add_comment_file(join(WREN_DIR, 'LICENSE'))
out.write('\n')
# Source files.
add_file(join(WREN_DIR, 'src', 'include', 'wren.h'))
# Must be included here because of conditional compilation.
add_file(join(WREN_DIR, 'src', 'vm', 'wren_debug.h'))
for f in iglob(join(WREN_DIR, 'src', 'vm', '*.c')):
add_file(f)